Re: Logging

Miek Gieben <[email protected]> Thu, 19 Aug 2004 11:52:33 +0200
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
[On 19 Aug, @11:37, Thomas wrote in "[hdup-user] Logging ..."]
> Hi!
> Thank you for a program that is easy to use and still make a good job.
> Sorry for my english...
> 
> I have tried to get syslog to redirect hdups logmessages to a separate log file for example /var/log/backup.log.
> 
> What is the parameter to the left in syslog.conf.
> 
> #/etc/syslog.conf
> ?.?              /var/log/backup.log
> 
> I hope you understand my question, if not tell me so I can try to explain better...

the logging itself is done under LOG_WARNING. 
Syslog is called with LOG_DAEMON.

I don't think it is possible to redirect the logging from one
single program under syslog - but I'm no syslog export.

see man 3 syslog and man 5 syslog.conf for more info,

Regards,
Miek