Re: getting log4j warning and error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. the
warn 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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux