This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • 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
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Cannot log into UNIX Syslog with log4j

 
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to log application error messages into syslog using log4j and so far I have no success. I've read and searched a lot of information but could not find an answer.

PROBLEM DESCRIPTION:

The application runs on the same machine as syslog. That is what my log4j.properties file looks like:




While file loggers (InfoLogger and ErrorLogger) log the messages into their respective files, the syslog logger (SyslogLogger) does not:



On the same unix box I ran the following unix command in order to test whether can log into syslog at all:


and it was successful - I could see this "just testing syslog functionality" in a syslog file.



Thank you to all in advance for your thoughts on how to solve this problem.


Kind regards,

Alex.
[ February 10, 2005: Message edited by: Alex Sharkoff ]
 
Alex Sharkoff
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am still trying to solve "cannot log into UNIX Syslog" (please see original email below). I've turned the log4j debug on (with the -Dlog4j.debug option) and that is what I have



As you can see all looks all right. What would you recommend I should do next? I really need some help on how to solve this problem.


Thanks to all in advance,

Alex.
 
Why is the word "abbreviation" so long? And this ad is so short?
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!