On Apr 23, 2009, at 7:21 PM, MacShane, Tracy wrote:

-----Original Message-----
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Scott Haneda
Sent: Friday, 24 April 2009 11:54 AM
To: postfix-users@postfix.org
Subject: How to change the log location

I think I have traveled from one end of the internet to the
other on this one :)  How do you change the log location for postfix?

Currently, the log is sent to /var/log/mail.log on Mac OS X.
I would like to move it to
/opt/local/var/log/postfix/mail.log since that is where postfix is.

OS X has a log roller built in, that rolls things out, I need
to keep my logs longer.  If I edit the OS X log roller to
exclude the mail.log, every system update seems to put it back.

I did not see any log path in the configure options for
building it out, or in any of the cf files.

http://developer.apple.com/documentation/Darwin/Reference/ManPages/man5/
syslog.conf.5.html#//apple_ref/doc/man/5/syslog.conf

http://developer.apple.com/documentation/Darwin/Reference/Manpages/man5/
newsyslog.conf.5.html#//apple_ref/doc/man/5/newsyslog.conf


Thanks. I managed to move it. The newsyslog feature of rolling it seems to have broken as a resul of the move though. Thanks again.
--
Scott * If you contact me off list replace talklists@ with scott@ *

Reply via email to