[logback-user] Simplest Java sample; Simplest logback.xml; what no logfile

Kundan Bapat kundan.bapat at gmail.com
Wed Jun 26 09:17:41 CEST 2013


Ajay,

Rhanks dir a quick response.

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).
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!

Thanks
Kundan



On Jun 26, 2013, at 2:53 AM, "Ajaykumar Ashokkumar Lavhade [via Logback]"<ml-node+s10977n12586h30 at n7.nabble.com> wrote:

> Hi Kundan, 
> 
> 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. 
> If this doesn't work then post the entire message you gets on console. 
> 
> Thanks, 
> Ajay 
> 
> -----Original Message----- 
> From: Logback-user [mailto:[hidden email]] On Behalf Of Kundan Bapat 
> Sent: Wednesday, June 26, 2013 11:37 AM 
> To: [hidden email] 
> Subject: Re: [logback-user] Simplest Java sample; Simplest logback.xml; what no logfile 
> 
> Just  noticed some syntax errors in logback.xml, as I was meddling with it, trying different things. 
> 
> 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. 
> Thanks 
> Kundan 
> 
> 
> 
> -- 
> View this message in context: http://logback.10977.n7.nabble.com/Simplest-Java-sample-Simplest-logback-xml-what-no-logfile-tp12583p12584.html
> Sent from the Users mailing list archive at Nabble.com. 
> _______________________________________________ 
> Logback-user mailing list 
> [hidden email] 
> http://mailman.qos.ch/mailman/listinfo/logback-user
> 
> **************** CAUTION - Disclaimer ***************** 
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
> for the use of the addressee(s). If you are not the intended recipient, please 
> notify the sender by e-mail and delete the original message. Further, you are not 
> to copy, disclose, or distribute this e-mail or its contents to any other person and 
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
> every reasonable precaution to minimize this risk, but is not liable for any damage 
> you may sustain as a result of any virus in this e-mail. You should carry out your 
> own virus checks before opening the e-mail or attachment. Infosys reserves the 
> right to monitor and review the content of all messages sent to or from this e-mail 
> address. Messages sent to or from this e-mail address may be stored on the 
> Infosys e-mail system. 
> ***INFOSYS******** End of Disclaimer ********INFOSYS*** 
> _______________________________________________ 
> Logback-user mailing list 
> [hidden email] 
> http://mailman.qos.ch/mailman/listinfo/logback-user
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://logback.10977.n7.nabble.com/Simplest-Java-sample-Simplest-logback-xml-what-no-logfile-tp12583p12586.html
> To unsubscribe from Simplest Java sample; Simplest logback.xml; what no logfile, click here.
> NAML




--
View this message in context: http://logback.10977.n7.nabble.com/Simplest-Java-sample-Simplest-logback-xml-what-no-logfile-tp12583p12587.html
Sent from the Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20130626/ce0dda80/attachment-0001.html>


More information about the Logback-user mailing list