| Author |
keep getting INFO in red for spring when running in eclipse eg: org.springframework.context.support.
|
sze sze chan
Greenhorn
Joined: Jul 27, 2011
Posts: 18
|
|
Hi everyone,
im currently developing a java program which is run by eclipse and implement with spring framewrok.
And I'm currently facing some problem with spring. when i run the program , there are always few lines of INFO from spring in red:
The program will still be running after the red line print out and will always finish running the program successfully.
anyone has any idea on how to remove the red lines?
any help will be much appreciated .
Thanks !
|
 |
Maciej Opala
Greenhorn
Joined: Jul 18, 2011
Posts: 23
|
|
|
I guess that logger needs to be configured.
|
 |
Mahendr Shinde
Greenhorn
Joined: Sep 03, 2011
Posts: 28
|
|
All those RED lines belongs to your Logger (may be log4j, slf4j or something similar). you need to add configuration for your loggers.
eg. for log4j you need to create "log4j.properties" file somewhere in classpath (best way: use source folder with name 'resources')
the minimum contents required for above file is:
As far as your program is running properly, you can ignore all these red lines. but if it fails, then you have to study all these lines to get exact reason.
|
There is still lot to learn!
|
 |
Maciej Opala
Greenhorn
Joined: Jul 18, 2011
Posts: 23
|
|
|
AFAIK "rootCategory" is marked 'deprecated', so it would be better not to use it.
|
 |
 |
|
|
subject: keep getting INFO in red for spring when running in eclipse eg: org.springframework.context.support.
|
|
|