AW: Logging to File

2010-11-23 Thread Stadelmann Josef
s/org/apache/log4j/PatternLayout.html Josef -Ursprüngliche Nachricht- Von: Douglas E Wegscheid [mailto:douglas_e_wegsch...@whirlpool.com] Gesendet: Montag, 22. November 2010 13:39 An: Log4J Users List Cc: log4j-user@logging.apache.org Betreff: Re: Logging to File uncomment the "log4j.appender&qu

Re: Logging to File

2010-11-22 Thread Douglas E Wegscheid
AM Please respond to "Log4J Users List" To log4j-user@logging.apache.org cc Subject Logging to File Hi, How do i set all logs to a file. I am setting the property file. Do i need to change something? Bellow is my property file and code sample LogProperty.log # Set root logg

Logging to File

2010-11-20 Thread Clement Jebakumar
Hi, How do i set all logs to a file. I am setting the property file. Do i need to change something? Bellow is my property file and code sample LogProperty.log # Set root logger level to DEBUG and its only appender to A1. log4j.rootLogger=WARN, A1 # A1 is set to be a ConsoleAppender. # log4j.app