Yes. Seems like instead of config the logging through the source code, it is more flexible to do it through properties file.
I try to disable the logging through properties file, but it seems that it doesn't work. Is there any else I had missed out? [EMAIL PROTECTED]:~/Projects/jstock/dist$ ls config history indicator jstock.jar lib README.TXT [EMAIL PROTECTED]:~/Projects/jstock/dist$ ls -al config/ total 12 drwxr-xr-x 2 yccheok yccheok 4096 2007-06-13 00:45 . drwxr-xr-x 6 yccheok yccheok 4096 2007-06-13 00:40 .. -rw-r--r-- 1 yccheok yccheok 171 2007-06-13 00:45 commons-logging.properties [EMAIL PROTECTED]:~/Projects/jstock/dist$ cat config/commons-logging.properties # Sample ResourceBundle properties file org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog [EMAIL PROTECTED]:~/Projects/jstock/dist$ java -cp config/commons-logging.properties -jar jstock.jar Jun 13, 2007 12:46:48 AM org.yccheok.jstock.gui.IndicatorPanel initIndicatorProjectManager INFO: indicatorProjectManager loaded from indicator/project.xml successfully. Jun 13, 2007 12:46:48 AM org.yccheok.jstock.engine.StockHistorySerializer <init> INFO: history directory already exists. [EMAIL PROTECTED]:~/Projects/jstock/dist$ I even include the class-path in my manifest file, not work still : Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.5 Created-By: 1.6.0_01-b06 (Sun Microsystems Inc.) Main-Class: org.yccheok.jstock.gui.MainFrame Class-Path: lib/commons-logging-1.1.jar lib/commons-httpclient-3.1-rc1 .jar lib/commons-codec-1.3.jar lib/forms-1.1.0.jar lib/l2fprod-common -all.jar lib/swingx.jar lib/jcommon-1.0.9.jar lib/jfreechart-1.0.5.ja r lib/JHotDraw7.jar lib/swing-layout-1.0.jar lib/cglib-nodep-2.1_3.ja r lib/dom4j-1.6.1.jar lib/jdom-1.0.jar lib/joda-time-1.2.1.jar lib/st ax-1.2.0.jar lib/stax-api-1.0.1.jar lib/xml-writer-0.2.jar lib/xom-1. 1.jar lib/xpp3_min-1.1.3.4.O.jar lib/xstream-1.2.1.jar lib/xstream-be nchmark-1.2.1.jar lib/nachocalendar-0.23-demo.jar lib/nachocalendar-0 .23.jar config/commons-logging.properties X-COMMENT: Main-Class will be added automatically by build Any comment? Thanks! ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]