RE: basic question from a newbie

2003-10-30 Thread Vikas Phonsa
Jim, Jeff, Mark, Charles and everybody else Thanks for your answers, it does makes sense to me now. Vikas -Original Message- From: Jim Moore [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 5:44 AM To: 'Log4J Users List' Subject: RE: basic question from a newbie The string pa

RE: How to use LevelMatch in Appenders

2003-10-30 Thread Shapira, Yoav
Howdy, Appenders have Thresholds for this... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Mandar Mangalvedhekar [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 29, 2003 6:21 PM >To: [EMAIL PROTECTED] >Subject: How to use LevelMatch in Appenders > >Hi, > I am tr

RE: basic question from a newbie

2003-10-30 Thread Jim Moore
The string passed to getLogger is arbitrary, but is generally the fully-qualified class name. Here's a bit more concrete example that should make it clearer: class A { private static final Logger SQL_LOG = Logger.getLogger("sql"); private static final Logger LOG = Logger.getLogger("mypackage.

RE: How do I set the character encoding ?

2003-10-30 Thread Yu Xiang Xi (Maveo)
If you change static Logger logger = Logger.getLogger(Sort.class.getName()); to static Logger logger = Logger.getRootLogger(); you will see 'setEncoding called.' in the console. -Original Message- From: KUROSAKA Teruhiko [mailto:[EMAIL PROTECTED] Sent: 2003年10月30日 15:36

How do I set the character encoding ?

2003-10-30 Thread KUROSAKA Teruhiko
Hello, I am new to the list, and to log4j. It seems that log4j writes log in the encoding specified by file.encoding property. Is there a way to override this? I would like to write my log files in UTF-8 encoding regardless of the platform's locale setting. Experimenting with Sort.java sample pr