[syslog-ng]$DAY in

William Pope syslog-ng@lists.balabit.hu
Mon, 25 Aug 2003 14:43:06 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0044_01C36B17.34E49000
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

I recently upgraded syslog-ng from version 1.4.17 to 1.6.0rc3.  After =
the
upgrade, the system logs do not include the DAY when sent to the =
following
destination.
=20
destination hosts { =
file("/var/adm/logs/$HOST/$YEAR/$MONTH/$DAY_$FACILITY");
};

I get logs like /var/logs/HOST/2003/08/kern.log instead of
/var/logs/HOST/2003/08/25_kern.log like I did with version 1.4.17.  The =
day
and the underscore are missing.  I am using the same conf file as =
1.4.17.
=20
Any help would be greatly appreciated!  I am sure I am missing something
stupid.
=20
Thank you,
=20
Will
=20
-------------------------------------------------------------------
This is a PRIVATE message, intended for the designated recipient(s) only =
and
may contain privileged or confidential information.  If you have =
received
this message in error, please notify me immediately, delete the =
original,
and destroy any paper copies.  Any other use of the email by you is
prohibited.
NOTE: Regardless of content, this e-mail shall not operate to bind the
sender to any order or other contract unless pursuant to explicit =
written
agreement or government initiative expressly permitting the use of =
e-mail
for such purpose.
=20

------=_NextPart_000_0044_01C36B17.34E49000
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D620133118-25082003><FONT face=3DArial size=3D2>I =
recently upgraded=20
syslog-ng from version 1.4.17 to 1.6.0rc3.&nbsp; After the upgrade, the =
system=20
logs do not include the DAY when sent to the following=20
destination.</FONT></SPAN></DIV>
<DIV><SPAN class=3D620133118-25082003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D620133118-25082003><FONT face=3DArial =
size=3D2>destination hosts {=20
file("/var/adm/logs/$HOST/$YEAR/$MONTH/$DAY_$FACILITY");=20
};<BR></FONT></SPAN></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><SPAN =
class=3D620133118-25082003>I get=20
logs like /var/logs/HOST/2003/08/kern.log&nbsp;instead of=20
/var/logs/HOST/2003/08/25_kern.log&nbsp;like I did with version =
1.4.17.&nbsp;=20
The day and the underscore are missing.&nbsp; I am using the same conf =
file as=20
1.4.17.</SPAN></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><SPAN=20
class=3D620133118-25082003></SPAN></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><SPAN =
class=3D620133118-25082003>Any help=20
would be greatly appreciated!&nbsp; I am sure I am missing something=20
stupid.</SPAN></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><SPAN=20
class=3D620133118-25082003></SPAN></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><SPAN =
class=3D620133118-25082003>Thank=20
you,</SPAN></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><SPAN=20
class=3D620133118-25082003></SPAN></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><SPAN=20
class=3D620133118-25082003>Will</SPAN></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial=20
size=3D1>----------------------------------------------------------------=
---</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D1>This is a PRIVATE message, =
intended for=20
the designated recipient(s) only and may contain privileged or =
confidential=20
information.&nbsp; If you have received this message in error, please =
notify me=20
immediately, delete the original, and destroy any paper copies.&nbsp; =
Any other=20
use of the email by you is prohibited.<BR>NOTE: Regardless of content, =
this=20
e-mail shall not operate to bind the sender to any order or other =
contract=20
unless pursuant to explicit written agreement or government initiative =
expressly=20
permitting the use of e-mail for such purpose.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0044_01C36B17.34E49000--