Hello Alexandre,
By default, logback loads the following files:
- If a file called logback.xml is found in the classpath, then it is used.
- In case it is not found, a logback-test.xml file is searched, and used if
available.
- If none of these files are available, logback uses its BasicConfigurator class to
create a simple default configuration that will only log to the console.
You might want to place a logback.xml file in the source directory, or in a location
that makes the file available in the classpath once compilation is done.
Regards,
Sébastien
Alexandre Jaquet wrote:
Hi,
I'm new to logback and I'm trying to setting up a test project, who will
use it.
When I used log4j I simply added a file log4.properties on my src root
and define some paramaters. My question is
how to do the same, and wich paramaters I've to set.
Thanks for your support.
Regards.
Alexandre Jaquet
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user
--
Sébastien Pennec
[EMAIL PROTECTED]
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch/
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user