Hi Francis, I use log4j too for my application. On my development view I have a single properties file for the whole application. And this file is given in argement of the VM as below:
-Dlog4j.configuration=file:D:/dev/<project>/log4j.properties And here is the content of this "dev" file: log4j.rootLogger=DEBUG, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=D:/dev/bdtech/logs/tomcat.log log4j.appender.R.MaxFileSize=10MB log4j.appender.R.MaxBackupIndex=10 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n So, this log4j.properties is shared implicitly with empire-db. I understand that it will be better to separate each log, but here is a development view, so... But do you have a more details about the config.xml? Where can I find more information on it, than the tutorial gives? Is it possible to give to empire-db another log4j.properties than the one use for Tomcat and my application? Thank you for your help. Regards, exxos. On Fri, Aug 20, 2010 at 10:30 AM, Francis De Brabandere <[email protected] > wrote: > Could you be a bit more precise? What logging system are you using? > How do you set it up? > > You can do this in the log4j:configuration section of the config.xml > if you use the empiredb configuration system. Putting > org.apache.empire to level OFF should be enough. > > eg: > > <logger name="org.apache.empire" additivity="false"> > <level value="OFF"/> > <appender-ref ref="default"/> > </logger> > > > > Cheers, > Francis > > > On Fri, Aug 20, 2010 at 10:20 AM, exxos <[email protected]> wrote: > > Hi there, > > > > Could you please advise me on how to desactivate the internal log of > > empire-db? > > > > For example prevent empire-db to log internaly SQL, internal exceptions > or > > others functional issues. > > The idea is the I prefere my business to log issues... > > > > Regards, > > exxos. > > > > > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house. >
