Discussion:
Syslog logging?
Chris Knipe
2007-12-07 08:35:18 UTC
Permalink
Hi,

Freshly compiled, but...

cathlasphere:/etc/exim # cat exim.conf |grep log_file_path; exim -bV
log_file_path = /var/log/exim/%s.log
Exim version 4.68 #1 built 06-Dec-2007 16:15:49
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (May  7, 2006)
Support for: iconv() Content_Scanning
Lookups: lsearch wildlsearch nwildlsearch iplsearch dbm dbmnz dnsdb mysql
Authenticators:
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram
redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /etc/exim/exim.conf
cathlasphere:/etc/exim #

I cannot get Exim to stop logging to syslog? From what I understood in the
documentation, log_file_path specifies only files that exim should log to,
and therefore, it should not be using syslog, but all my logs ends up in
syslog, regardless of the settings specified in log_file_path...

Am I doing something wrong here, or ...

Thanks,
Chris.
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Phil Pennock
2007-12-07 10:33:54 UTC
Permalink
Post by Chris Knipe
cathlasphere:/etc/exim # cat exim.conf |grep log_file_path; exim -bV
log_file_path = /var/log/exim/%s.log
I cannot get Exim to stop logging to syslog? From what I understood in the
documentation, log_file_path specifies only files that exim should log to,
and therefore, it should not be using syslog, but all my logs ends up in
syslog, regardless of the settings specified in log_file_path...
Am I doing something wrong here, or ...
Do you really mean _all_ data, for all the mails sent and received is
going to syslog, or just the stuff from early in start-up?

What does:
$ exim -bP log_file_path
show, and does it differ from what you set in the config (presumably in
the first section, for global config?)

Does /var/log/exim/ exist?

When you HUP the running daemon to get it to re-read the config file,
what do you see logged around about the time of the restart? The lines
when Exim logs its version, etc.

-Phil
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Chris Knipe
2007-12-07 13:23:36 UTC
Permalink
Hi,

Seemed to have been a permission issue on /var/log/exim and exim couldn't
create a panic log file. Fixed and the syslogs has gone (obviously, it
fails back to logging to mail.info...

--
Chris.


-----Original Message-----
From: exim-users-***@exim.org [mailto:exim-users-***@exim.org] On
Behalf Of Phil Pennock
Sent: Friday, December 07, 2007 12:34 PM
To: Chris Knipe
Cc: exim-***@exim.org
Subject: Re: [exim] Syslog logging?
Post by Chris Knipe
cathlasphere:/etc/exim # cat exim.conf |grep log_file_path; exim -bV
log_file_path = /var/log/exim/%s.log
I cannot get Exim to stop logging to syslog? From what I understood in the
documentation, log_file_path specifies only files that exim should log to,
and therefore, it should not be using syslog, but all my logs ends up in
syslog, regardless of the settings specified in log_file_path...
Am I doing something wrong here, or ...
Do you really mean _all_ data, for all the mails sent and received is
going to syslog, or just the stuff from early in start-up?

What does:
$ exim -bP log_file_path
show, and does it differ from what you set in the config (presumably in
the first section, for global config?)

Does /var/log/exim/ exist?

When you HUP the running daemon to get it to re-read the config file,
what do you see logged around about the time of the restart? The lines
when Exim logs its version, etc.

-Phil
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Continue reading on narkive:
Loading...