How do i change the log level of a spring container which does not run in an appserver?
Asked
Active
Viewed 3,348 times
1
1 Answers
4
in your log4j.properties
(if using log4j):
log4j.logger.org.springframework=INFO

Bozho
- 588,226
- 146
- 1,060
- 1,140
-
I am using spring 3.0.1 and i think it uses slf4j by default. – java_geek Jan 19 '11 at 10:08
-
@java_geek yes, but slf4j needs an underlying framework and that is usually log4j – Sean Patrick Floyd Jan 19 '11 at 10:10
-
slf4j is a facade, and it will work if you set this in log4j.properties. It depends which logging you are using. – Bozho Jan 19 '11 at 10:11