Mailinglist Archive: opensuse (2442 mails)

< Previous Next >
Re: [opensuse] Postfix does not seem to be logging
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Wed, 27 Jun 2007 12:39:02 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0706271232220.9185@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Wednesday 2007-06-27 at 00:12 +0100, John wrote:

> > Postfix logs to mail.*, where Syslog is depositing the facility mail is
> > configured in /etc/syslogd.conf (or /etc/syslog-ng/syslog-ng.conf).
> >   
> That just points me to the files which weren't being updated when I first
> logged this. Does that mean that any transactions that happened during this
> period were not logged at all?

You removed the log files, which is a no-no. You effectively set the syslog 
daemon into a crazy state and new log data was lost (bug or feature, 
dunno; probably known (mis)feature). I suppose it kept writing to the file 
descriptor/reference/whatever of the nonexistent file.

You have to reload the daemon so that it knows that somebody has played 
with his files on his back.

You can get a clue that this is known by looking at the 
/etc/logrotate.d/syslog config file.


- -- 
Cheers,
       Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGgj5PtTMYHG2NR9URAvafAJwK7kjGjqtP+NH///Nq4K7MSJEWsACdGp0J
3O5Tx75CAdvK+6aZUWaI4Fc=
=feWO
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >