commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Canabrava" <canab...@gmail.com>
Subject Re: turn off common logging
Date Tue, 12 Jun 2007 17:02:06 GMT
2007/6/12, Cheok Yan Cheng <yccheok@yahoo.com>:
> 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?
>
> yccheok@yccheok-desktop:~/Projects/jstock/dist$ java
> -cp config/commons-logging.properties -jar jstock.jar

Include the config directory in the classpath, not the properties file.
Like this:

java -cp config -jar jstock.jar

a+
Rodrigo

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message