[olug] syslog help
Trent Melcher
tmelcher at trilogytel.com
Fri Nov 1 17:25:12 UTC 2002
Ok well then, what file does user go to in the syslog-ng.cong file
ie.
destination user { file("/var/log/user.log"); };
Attached is a sample syslog-ng conf file. Might help some.
Trent
-----Original Message-----
From: olug-admin at olug.org [mailto:olug-admin at olug.org]On Behalf Of Mike
Hostetler
Sent: Friday, November 01, 2002 11:10 AM
To: olug at olug.org
Subject: Re: [olug] syslog help
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
_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olug.org/pipermail/olug/attachments/20021101/e2a1997c/attachment.htm>
More information about the OLUG
mailing list