Hello, Is there a way to include year directly in log messages , without rewrite logs into a specific format; I would like find messages in log like that : "*2005 *Jun 3 16:09:12 s_sys@..........." Thanks In advance
syrykh Alain wrote:
Is there a way to include year directly in log messages , without rewrite logs into a specific format; I would like find messages in log like that : "*2005 *Jun 3 16:09:12 s_sys@..........."
I'd like to see that feature, too. Very helpfull in old logs with new entries every half year.
On Sun, 2005-07-03 at 12:39 +0200, Volker Apelt wrote:
syrykh Alain wrote:
Is there a way to include year directly in log messages , without rewrite logs into a specific format; I would like find messages in log like that : "*2005 *Jun 3 16:09:12 s_sys@..........."
I'd like to see that feature, too. Very helpfull in old logs with new entries every half year.
it is possible by specifying a template, or by using syslog-ng 1.9.x and using the ts_format() option. -- Bazsi
participants (3)
-
Balazs Scheidler
-
syrykh Alain
-
Volker Apelt