• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

log4j configuration

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

i am getting below warnings in the console(WebSphere) while starting the server in RAD 6.0.

log4j:WARN No appenders could be found for logger
log4j:WARN Please initialise the log4j system properly

i have tried putting the log4j.properties file in both in lib and classes folder of application.

please reply as soon as possible.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
are you sure the application is deployed in the server?
 
anand javvaji
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes i am sure application was deployed .

The application is running fine.
only the issue is i am unable to see log statements.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which set of classes are using log4j?

Make sure the properties file is visible to the classloader that uses log4j functionality. In the Rataional Application Developer/RSA world, that usually means putting it in the src folder of any Java application that is developed, and making sure it gets transfered tot he build folder of the project at deployment time.

Were developers seeing this message at development time? I bet they were.

-Cameron McKenzie
 
reply
    Bookmark Topic Watch Topic
  • New Topic