Hello

if I use the %d option I receive the minutes instead of the month .

[19.16.2003] AWT-EventQueue-0 INFO  OCVscroll : Bin im MouseDown, Datum
: 19.2.2003 22:16:44

this is a result after using a test with getDateTimeInstance.
    
    ...
        dateFormatter =
DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT,
new Locale("de", "CH"));
        today = new Date();
        dateOut = dateFormatter.format(today);
    ...
        cat.info("Bin im MouseDown, Datum : " + dateOut);

The Log4J.properties :

log4j.rootCategory=DEBUG, dest1
log4j.appender.dest1=org.apache.log4j.ConsoleAppender
log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
#Log Formatierung mit Datum Ausgabe
#log4j.appender.dest1.layout.ConversionPattern=[%d{dd MMM yyyy}] %-5p %c
: %m%n
log4j.appender.dest1.layout.ConversionPattern=[%d] %-5p %c : %m%n



Thanks for any tips 

regards

Damian

 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to