[syslog-ng]$YEAR/$MONTH/$DAY generates always 2002/12/31

Balazs Scheidler syslog-ng@lists.balabit.hu
Wed, 3 Dec 2003 15:52:35 +0100


On Wed, Dec 03, 2003 at 04:20:09PM +0300, Serge Torop wrote:
> On Wed, 3 Dec 2003, Serge Torop wrote:
> 
> Sorry, wrong dir. This is correct:
> 
> # ls -1 /var/log/fetchmail
> 
> fetchmaillog.03.12.2003
> fetchmaillog.31.12.2002 - !!!

Then as last resort, the sender probably sent an incorrent date, you might
have a clock skew or something. Please check the incoming log message using
either tcpdump or strace, or try $R_MONTH and $R_DAY for received time
stamp, instead of the stamp within the message.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1