Hi, If you check out the configuration chapter of the logback documentation it tells you how to specify alternate locations for logback.xml.
As for testing I just tend to test manually. To use automated testing you'd need to read in the log file from disk and verify it's contents somehow. David > On 17 Aug 2014, at 10:14, gokturk mavus <[email protected]> wrote: > > In the project hierarchy shown below, I want to put logback.xml > configuration file as shown below. After having done so, do I need > anything so as to have logback fully working. Also, how do I test my > configuration file is fully working? ( How can I test, sort of unit > test, my configuration file to see whether it works or not?) > > > .............Project folder > ..................| ----------------- src > ..................| ----------------- configuration > ..............................................|------------------ > logback_and_slf4j > .......................................................................|------------------ > logback.xml > > > Platform: windows > Eclipse:Version: Indigo Service Release 2 Build id: 20120216-1857 > _______________________________________________ > Logback-user mailing list > [email protected] > http://mailman.qos.ch/mailman/listinfo/logback-user _______________________________________________ Logback-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-user
