RollingFileAppender Exception
All, I am getting the following error on one machine when running log4cxx, but the appender works properly on my development VM. log4cxx: Exception during rollover log4cxx: No output stream or file set for the appender named [appxNormalAppender]. Here is my current xml configuration for this. http://jakarta.apache.org/log4j/";> -- View this message in context: http://apache-logging.6191.n7.nabble.com/RollingFileAppender-Exception-tp37288.html Sent from the Log4cxx - Users mailing list archive at Nabble.com.
Re: RollingFileAppender Exception
Guten Tag dolbydc, am Dienstag, 7. Mai 2013 um 01:01 schrieben Sie: > log4cxx: Exception during rollover > log4cxx: No output stream or file set for the appender named > [appxNormalAppender]. [...] >class="org.apache.log4j.FileAppender"> > > > > > > There's no filename configured, this may work because of some defaults in your development environment, but may can't because of missing permissions or whatever in other environments. You shouldn't use empty layout configurations, too. http://apache-logging.6191.n7.nabble.com/help-RollingFileAppender-xml-configuration-td31386.html http://www.yolinux.com/TUTORIALS/Log4cxx.html Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Re: RollingFileAppender Exception
Thorsten, Thanks for the reply. I am not sure what happened with my original paste, but these are the settings I have within the appxNormalAppender appender declaration. I do have a filename. -- View this message in context: http://apache-logging.6191.n7.nabble.com/RollingFileAppender-Exception-tp37288p37306.html Sent from the Log4cxx - Users mailing list archive at Nabble.com.
Re: RollingFileAppender Exception
Guten Tag dolbydc, am Dienstag, 7. Mai 2013 um 17:41 schrieben Sie: > Thanks for the reply. I am not sure what happened with my original paste, > but these are the settings I have within the appxNormalAppender appender > declaration. I do have a filename. I can't see anything but if you configured a filename then check permissions on the path configured. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Re: RollingFileAppender Exception
It appears to be a lack of write permissions on the folder. In the deployed environment only the owner of the folder had write permission and on my dev everyone had write permission. Thanks dolbydc -- View this message in context: http://apache-logging.6191.n7.nabble.com/RollingFileAppender-Exception-tp37288p37309.html Sent from the Log4cxx - Users mailing list archive at Nabble.com.