Re: [Mailzu-users] Logfile localized?
Brought to you by:
trilexcom
|
From: Brian W. <bw...@gm...> - 2005-10-11 14:46:46
|
On 10/11/05, Paolo Cravero as2594 <pcr...@as...> wrote: > Hi! > While attending a presentation of an antivirus vendor this morning, I > realised I should write a simple crontab script that reads mailzu log > and lists logins on a daily basis. > > (In my organization we generate stats overnight and email them to a > common mailbox for future references.) > > So I checked mailzu's log format and saw that logged messages get > localized according to end user language choice. Here's an excerpt: > > [Tue, 11 Oct 2005 15:18:53] x.y.z.w pcnet Autenticazione riusci= ta > [Tue, 11 Oct 2005 16:05:38] x.y.z.w pcnet Authentication > successful > > I think the output log should contain consistent strings, so that it > allows easy automated parsing by "third-party" programs. > > Patching should be easy: all calls to CmnFns::write_log should not call > the translate function. > > Comments? Have I overlooked something? > Paolo Paolo, thanks for your feedback once again. An english-only logfile is a good idea. Ill make the addition. |