• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

log4j:ERROR No appenders could be found for category

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all,
I had been trying to use log4j for the Daemon I am running , Just now realised that the logging system is not working and i am getting the following message on the console :
[ljohn@coudev11 classes]$ ../bin/run_RPResponseFromRegistry.sh
In logDebug() ::Loading RPResponseFromRegistryProperties.properties
log4j:ERROR No appenders could be found for category (com.mynames.rp.resutil.resLoggingImpl).
log4j:ERROR Please initialize the log4j system properly.
**In Daemon:1* Poll Thread
In logDebug() ::Creating new poll thread
In logDebug() ::Starting poll thread

It would be kind to let me know how this could be resolved

Many Thanks,
Regards,
John
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may get a better response to this in the Other Java API's forum. I'm moving this there.
It sounds to me that you don't have your logging properties file configured properly. Could you post your properties file and the code where you initialize it?
 
A lot of people cry when they cut onions. The trick is not to form an emotional bond. This tiny ad told me:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!