Comments on: Example On Log4j.properties File With FileAppender & SimpleLayouthttp://www.java4s.com/log4j-tutorials/example-on-log4j-properties-file-with-fileappender/
Get it YourSelfFri, 20 Feb 2015 15:18:15 +0000hourly1http://wordpress.org/?v=173By: Tejashwinihttp://www.java4s.com/log4j-tutorials/example-on-log4j-properties-file-with-fileappender/#comment-3116
Wed, 19 Nov 2014 10:36:15 +0000http://www.java4s.com/?p=2532#comment-3116log4j.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.shttp://www.java4s.com/log4j-tutorials/example-on-log4j-properties-file-with-fileappender/#comment-3013
Thu, 23 Oct 2014 10:23:16 +0000http://www.java4s.com/?p=2532#comment-3013Hi 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+Papandreashttp://www.java4s.com/log4j-tutorials/example-on-log4j-properties-file-with-fileappender/#comment-2898
Sun, 28 Sep 2014 15:24:05 +0000http://www.java4s.com/?p=2532#comment-2898Sivateja, 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?
]]>