Package: logwatch
Version: 5.2.2-3
Severity: normal
Tags: patch

I use pt_BR locale (LC_ALL=pt_BR) and in months like February (Feb) or
December (Dec) logwatch doesn't find events for most services, cause it
searches for "Fev" and "Dez" respectivly.

I think the patch attached solves this problem by setting LC_ALL to C in
the beggining of the script.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages logwatch depends on:
ii  mailx            1:8.1.2-0.20040524cvs-4 A simple mail user agent
ii  perl             5.8.4-6                 Larry Wall's Practical Extraction 

-- no debconf information
--- logwatch    2005-02-26 02:57:22.000000000 -0300
+++ logwatch.corrigido  2005-02-26 02:58:15.000000000 -0300
@@ -21,6 +21,7 @@
 
 #Added to solve problems with applystddate
 $ENV{'LANG'} = "C";
+$ENV{'LC_ALL'} = "C";
 
 #Added to create switches for different os options -mgt
 #For now working on Linux and SunOS

Reply via email to