AW: log4net not reading all of app.config file

2013-06-24 Thread Dominik Psenner
Good morning Peter, I'm happy you were able to resolve your issue. However, I would like to dig a bit deeper to see if there's a problem with log4net. Have you looked at the examples section and followed the steps required for configuring log4net from the app.config file?

RE: log4net not reading all of app.config file

2013-06-24 Thread Howe, Peter L
Thank you for the suggestions, I had already added my own WriteLine statements but had not tried the XMLConfigurator. I traced right down to the calls to log4net, and the test program was making the calls, but nothing was generated. This one line of code (along with the necessary using statemen

Re: log4net not reading all of app.config file

2013-06-24 Thread Dominik Psenner
Hi Peter, very strange problem indeed. Have you tried loading the configuration from a separate config file (XmlConfigurator.Configure(file))? Have you tried to output something on the Console right nearby the log4net logging calls to check whether your program really generates logging events

log4net not reading all of app.config file

2013-06-24 Thread Howe, Peter L
I have a very strange problem. It appears that log4net is not reading the entire config file. I know it is reading at least PART of the file, because I can enable the internal key (") by changing the comment markers, and log4net outputs debug information according to whether or not that line

[jira] [Closed] (LOG4NET-382) TargetInvocationException occurs because MESSAGE_SIZE fields in EventLogAppender are initialized in wrong order

2013-06-24 Thread Dominik Psenner (JIRA)
[ https://issues.apache.org/jira/browse/LOG4NET-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominik Psenner closed LOG4NET-382. --- Closing the issue due to the comment of Simon Chester. > TargetInvocationExcept

[jira] [Commented] (LOG4NET-382) TargetInvocationException occurs because MESSAGE_SIZE fields in EventLogAppender are initialized in wrong order

2013-06-24 Thread Simon Chester (JIRA)
[ https://issues.apache.org/jira/browse/LOG4NET-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691901#comment-13691901 ] Simon Chester commented on LOG4NET-382: --- Hi Dominik, Thank you for the fix. I pas