[olug] syslog help
Mike Hostetler
thehaas at binary.net
Fri Nov 1 17:10:13 UTC 2002
On Fri, Nov 01, 2002 at 10:59:48AM -0600, Trent Melcher wrote:
> Can you make a system call in your app. to user logger???
> The other recommendation would be if your application was written in C, and
> you have access to the code, to use the syslog.h function. Works really
> well.
>
The answer is: this is a Java app that I'm QA'ing. So:
o no, I can't do a syscall to logger, since that would be changing
code.
o not in C.
But I did use logger to send a test message to my user.log, and the log
was created with the message, i.e. syslog-ng is working to a certain extent.
-- mikeh
More information about the OLUG
mailing list