Comments on: Example On Log4j.properties File With FileAppender & SimpleLayout http://www.java4s.com/log4j-tutorials/example-on-log4j-properties-file-with-fileappender/ Get it YourSelf Wed, 10 Dec 2014 00:05:47 +0000 hourly 1 http://wordpress.org/?v=390 By: Tejashwini http://www.java4s.com/log4j-tutorials/example-on-log4j-properties-file-with-fileappender/#comment-3116 Wed, 19 Nov 2014 10:36:15 +0000 http://www.java4s.com/?p=2532#comment-3116 log4j.rootLogger=INFO,fa
log4j.appender.fa=org.apache.log4j.FileAppender
log4j.appender.fa.File=logs.txt
log4j.appender.fa.layout=org.apache.log4j.PatternLayout
log4j.appender.fa.layout.ConversionPattern=%r %d{MM:dd:yy hh-mm-ss} [%t] – %m %n
Its my properties file
when I Use ConsoleAppender Instead of FileAppender its wprking but FileAppender not working. Plz tell me the Prblm

]]>
By: Vilkas.s http://www.java4s.com/log4j-tutorials/example-on-log4j-properties-file-with-fileappender/#comment-3013 Thu, 23 Oct 2014 10:23:16 +0000 http://www.java4s.com/?p=2532#comment-3013 Hi i have a doubt with this program,
suppose when i have five java files how many .property file is needed. but one thing i want produce different output log in each class what is the solution please replay me.

]]>
By: Andreas+Papandreas http://www.java4s.com/log4j-tutorials/example-on-log4j-properties-file-with-fileappender/#comment-2898 Sun, 28 Sep 2014 15:24:05 +0000 http://www.java4s.com/?p=2532#comment-2898 Sivateja, thanks for tutorial, but the is a question related to it.
Whe I use log4j HTMLLayout it generetes html without closing tag. So next time logs are generating then html breaks as you understand.
Why it happens and how to fix it?

]]>