• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

keep getting INFO in red for spring when running in eclipse eg: org.springframework.context.support.

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 !
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess that logger needs to be configured.
 
Ranch Hand
Posts: 38
Eclipse IDE Tomcat Server Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Maciej Opala
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
AFAIK "rootCategory" is marked 'deprecated', so it would be better not to use it.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic