<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Make sure the logback.xml configuration file is in the
<b>classpath</b> src/main/resources.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Logback-user [mailto:logback-user-bounces@qos.ch]
<b>On Behalf Of </b>Kundan Bapat<br>
<b>Sent:</b> Wednesday, June 26, 2013 12:48 PM<br>
<b>To:</b> logback-user@qos.ch<br>
<b>Subject:</b> Re: [logback-user] Simplest Java sample; Simplest logback.xml; what no logfile<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Ajay,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Rhanks dir a quick response.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I started on eclipse; but as I started to strip down the complexity, I moved to command line, removed ANT, other files etc.  the result - running the program  on the cmd window, and console output of the messages which I have included in
 the single java file (attached-3messages).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-style-span">Nothing else, no errors, and no message regarding 'file log back.xml not found', or invalid syntax, or exception trace ...  nothing.  Plain successful execution of program with console logging as if logback.xml
 doesn't exist!</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Kundan<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On Jun 26, 2013, at 2:53 AM, "Ajaykumar Ashokkumar Lavhade [via Logback]"<<a href="/user/SendEmail.jtp?type=node&node=12587&i=0" target="_top">[hidden email]</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.5pt;padding:0in 0in 0in 12.0pt;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Kundan, <br>
<br>
As per your logback.xml settings logFile.log will get created in your project directory. If you are using eclipse and you are not able to view your logFile.log in your project directory then please do refresh it.
<br>
If this doesn't work then post the entire message you gets on console. <br>
<br>
Thanks, <br>
Ajay <br>
<br>
-----Original Message----- <br>
From: Logback-user [mailto:<a href="/user/SendEmail.jtp?type=node&node=12586&i=0" target="_top">[hidden email]</a>] On Behalf Of Kundan Bapat
<br>
Sent: Wednesday, June 26, 2013 11:37 AM <br>
To: <a href="/user/SendEmail.jtp?type=node&node=12586&i=1" target="_top">[hidden email]</a>
<br>
Subject: Re: [logback-user] Simplest Java sample; Simplest logback.xml; what no logfile
<br>
<br>
Just  noticed some syntax errors in logback.xml, as I was meddling with it, trying different things.
<br>
<br>
But as mentioned in previous post, it doesn't matter because the logback.xml file is simply 'not read in' when the Java class is executed.
<br>
Thanks <br>
Kundan <br>
<br>
<br>
<br>
-- <br>
View this message in context: <a href="http://logback.10977.n7.nabble.com/Simplest-Java-sample-Simplest-logback-xml-what-no-logfile-tp12583p12584.html" target="_top">
http://logback.10977.n7.nabble.com/Simplest-Java-sample-Simplest-logback-xml-what-no-logfile-tp12583p12584.html</a><br>
Sent from the Users mailing list archive at <a href="http://Nabble.com" target="_top">
Nabble.com</a>. <br>
_______________________________________________ <br>
Logback-user mailing list <br>
<a href="/user/SendEmail.jtp?type=node&node=12586&i=2" target="_top">[hidden email]</a>
<br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_top">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
<br>
**************** CAUTION - Disclaimer ***************** <br>
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely <br>
for the use of the addressee(s). If you are not the intended recipient, please <br>
notify the sender by e-mail and delete the original message. Further, you are not
<br>
to copy, disclose, or distribute this e-mail or its contents to any other person and
<br>
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
<br>
every reasonable precaution to minimize this risk, but is not liable for any damage
<br>
you may sustain as a result of any virus in this e-mail. You should carry out your
<br>
own virus checks before opening the e-mail or attachment. Infosys reserves the <br>
right to monitor and review the content of all messages sent to or from this e-mail
<br>
address. Messages sent to or from this e-mail address may be stored on the <br>
Infosys e-mail system. <br>
***INFOSYS******** End of Disclaimer ********INFOSYS*** <br>
_______________________________________________ <br>
Logback-user mailing list <br>
<a href="/user/SendEmail.jtp?type=node&node=12586&i=3" target="_top">[hidden email]</a>
<br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_top">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
<br>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444"><a href="http://logback.10977.n7.nabble.com/Simplest-Java-sample-Simplest-logback-xml-what-no-logfile-tp12583p12586.html" target="_top">http://logback.10977.n7.nabble.com/Simplest-Java-sample-Simplest-logback-xml-what-no-logfile-tp12583p12586.html</a>
<o:p></o:p></span></p>
</div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666">To unsubscribe from Simplest Java sample; Simplest logback.xml; what no logfile,
<a href="" target="_top">click here</a>.<br>
<a href="http://logback.10977.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top"><span style="font-size:7.0pt;font-family:"Times New Roman","serif"">NAML</span></a>
<o:p></o:p></span></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
<div class="MsoNormal">
<hr size="2" width="300" style="width:225.0pt" align="left">
</div>
<p class="MsoNormal">View this message in context: <a href="http://logback.10977.n7.nabble.com/Simplest-Java-sample-Simplest-logback-xml-what-no-logfile-tp12583p12587.html">
Re: Simplest Java sample; Simplest logback.xml; what no logfile</a><br>
Sent from the <a href="http://logback.10977.n7.nabble.com/Users-f3.html">Users mailing list archive</a> at Nabble.com.<o:p></o:p></p>
</div>
</body>
</html>