Hi all, there are two problems in Bacula that makes logwatch unusable under some circumstances.
First bug is in dispatch_message function. If you have defined catalog directive in config file, all subsequent destinations incorrectly uses catalog date format because catalog output overwrites date string. This is clear bug and it is easy to fix it. But there is a second issue that is connected with locales. The bstrftime_ny function uses %d-%b %H:%M format which contains month in string format. Problem is that this string varies under different locales. The logwatch forces locale to C and it is not able to correctly find log entries by date. I propose to change date format. It shouldn't use month in string format or it should be forced to C locale. What are your opinions? I can create a patch but I don't know which solution is better. Jan More informations in Fedora Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=669758 ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel