java with syslog
Hi,
I want to know whether from java is it possible to call the syslog utility of linux to log messages. thanks |
yes it's totally possible, just google for "java syslog" and you'll see a number of client apis
|
Hi acid_kewpie,
Thanks for your reply but all the api's are based on syslog utilities and I need to used the syslog.conf and linux syslog in my java program and I shell script we can use logger to log the message and If it is application the same logger can be used? |
you app has no interest in syslog.conf syslogd on your system is just an implementation of the syslog standard, and your app needs to talk protocol and standards, not to a specfic program. As above, there are very clear libraries to do what you need. you should have already found yourself on this page already http://protomatter.sourceforge.net/l...og/Syslog.html for example
|
Hi,
Thanks for your reply. My requirement is , I need to send all the messages to the syslogd server which is running in the linux m/c . |
All times are GMT -5. The time now is 12:28 PM. |