[Mailzu-users] Logfile localized?
Brought to you by:
trilexcom
|
From: Paolo C. a. <pcr...@as...> - 2005-10-11 14:11:39
|
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 riuscita [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 |