Hi, Its seems that you forgot to give a file name for your appenders.If you have appenders using org.apache.log4j.DailyRollingFileAppender for example, you need to specify the file that will be used for logging.
If you use a properties file for log4j, here is the syntax : log4j.appender.YOURAPPENDERNAME.File=/path/to/file/file.log I hope it help ? Alice Le 16 avr. 07, à 10:27, sureshrgsl a écrit :
hai to all.i am getting log4j warning and error while startup of tomcat. thewarn is as follows. log4j: warn file option not set for appender [RF] log4j: warn are u using fileappender instead of consoleappender? log4j: error File or datapattern are not set for appender [RF] please help me out. in this.-- View this message in context: http://www.nabble.com/getting-log4j-warning-and-error- tf3583054.html#a10012128 Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
![]() |