<div dir="ltr"><div>Thanks for your kindness and replay, David</div><div><br></div><div>> If you check out the configuration chapter of the logback documentation it tells you how to specify alternate locations for logback.xml.<br>
</div><div><br></div><div>In FAQ / logback classic / 3rd question, it say I can not. Am I missing something?</div><div><br></div><div>As I understand you are one of the developer of Logback. It seems you know how to do. So, can you briefly tell me how I can do?</div>
<div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-08-17 12:46 GMT+03:00 David Roussel <span dir="ltr"><<a href="mailto:nabble@diroussel.xsmail.com" target="_blank">nabble@diroussel.xsmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
If you check out the configuration chapter of the logback documentation it tells you how to specify alternate locations for logback.xml.<br>
<br>
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.<br>
<br>
David<br>
<div><div class="h5"><br>
> On 17 Aug 2014, at 10:14, gokturk mavus <<a href="mailto:gokturkmavus@gmail.com">gokturkmavus@gmail.com</a>> wrote:<br>
><br>
> In the project hierarchy shown below, I want to put logback.xml<br>
> configuration file as shown below. After having done so, do I need<br>
> anything so as to have logback fully working. Also, how do I test my<br>
> configuration file is fully working? ( How can I test, sort of unit<br>
> test, my configuration file to see whether it works or not?)<br>
><br>
><br>
> .............Project folder<br>
> ..................| ----------------- src<br>
> ..................| ----------------- configuration<br>
> ..............................................|------------------<br>
> logback_and_slf4j<br>
> .......................................................................|------------------<br>
> logback.xml<br>
><br>
><br>
> Platform: windows<br>
> Eclipse:Version: Indigo Service Release 2 Build id: 20120216-1857<br>
</div></div>> _______________________________________________<br>
> Logback-user mailing list<br>
> <a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
> <a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
</blockquote></div><br></div></div>