|
From: Toli K. <to...@ma...> - 2007-05-30 17:55:39
|
> entries. Still no avail. Just to make sure i'm not barking up the wrong > tree, where *should* one put the slf4j.properties file ? > All of your configs look correct. Here are a couple notes, just to be sure: 1. it's log4j.properties not slf4j.properties. it should be anywhere on the classpath. we explicitly add the conf/ directory that has our log4j.properties file to the classpath. You can also just jar it into your app, for example. 2. in the sample log4j.properties file you sent earlier you have the output going to /log.txt. If you are not running the process as root, can it be as simple as not having write permissions? Try just the log4j.appender.Default.File=log.txt to have it print to a local directory first. 3. Also, if nothing is still working, change this line to print to stdout first to see if anything is outputted: log4j.rootLogger=DEBUG,stdout that should give you some Log4J-looking lines (with DEBUG statements) and then you can go debug from there... but otherwise, your setup looks correct. -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |