[tpop3d-discuss] How do i change the syslog facility?

Chris Lightfoot chris at ex-parrot.com
Wed, 7 Nov 2001 11:50:49 +0000


On Wed, Nov 07, 2001 at 11:44:44AM +0100, Henrik Larsson wrote:
> Is there any way to change the syslog facility name or let tpop3d log
                (1)
> directly to a file?
                (2)

The short answer:

    1.  by changing LOG_MAIL to another facility in the
        call to openlog on line 571 of main.c;

    2.  you can't.  

The long answer: (1) ought to be configurable at run time.
(2) could be added, but I'm not sure why you want to log
to a file, rather than syslog....

-- 
 [A pessimist is] someone who thinks everybody is as nasty as himself,
 and hates them for it. (Shaw)