I've tried the code suggested in this link:

http://logging.apache.org/log4net/log4net-1.2.12/release/faq.html#trouble-ev
aluate-configurationerrors-at-runtime 

I've converted it to VB.NET as best I can but it tells me that
ConfigurationMessages is not a member of
log4net.Repository.ILoggerRepository am I doing something wrong? Code below:

        If Not (log4net.LogManager.GetRepository().Configured) Then
            ' log4net not configured
            For Each message As log4net.Util.LogLog In
log4net.LogManager.GetRepository().ConfigurationMessages.Cast(Of
log4net.Util.LogLog())()

            Next
        End If





--
View this message in context: 
http://apache-logging.6191.n7.nabble.com/log4net-not-working-outside-local-environment-tp54642p54650.html
Sent from the Log4net - Dev mailing list archive at Nabble.com.

Reply via email to