We are using the syslog(3) call to log.

Dan

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
> On Behalf Of nate
> Sent: Wednesday, January 29, 2003 10:09 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Syslog stops logging from app after logrotate
> 
> Dan Bar Dov said:
> > We have the problem only in our own applications. Other system apps,
> > continue logging fine.
> >
> >
> >
> > Looking for ideas what might be wrong in our app.
> 
> is your app using syslog? as in /dev/log to log ? or communicating
with
> the syslog daemon directly via UDP ? "syslog" is often confused for
> files residing in /var/log or /var/adm(dev folks at my last company
> made this assumption).
> 
> if it is NOT communicating to "syslog" then you need to instruct the
> app to close the log file and re open it(most apps this can be done
> with kill -HUP <pid>), if it is using syslog, there should be no
> problem.. I get the feeling that it's not using syslog, just logging
> to it's own log file.
> 
> a fairly easy way to test I suppose is to setup a syslog server, and
> see if your app logs to the server as instructed by /etc/syslog.conf
> or you can run lsof and see if it is using /dev/log. setting up a
simple
> syslog server is as easy as running syslogd with the -r switch. then
> configure the local syslog.conf to point to it(man syslog.conf).
> 
> you can test your syslog server with the 'logger' command.
> 
> nate
> 
> 
> 
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to