¡@

Home 

c# Programming Glossary: logname

Configuring a custom event log for log4net

http://stackoverflow.com/questions/2416800/configuring-a-custom-event-log-for-log4net

share improve this question You control this with the LogName property . E.g. appender name EventLogAppender type log4net.Appender.EventLogAppender..

How do I use a GlobalContext property in a log4net appender name?

http://stackoverflow.com/questions/562108/how-do-i-use-a-globalcontext-property-in-a-log4net-appender-name

type log4net.Util.PatternString value App_Data property LogName ... appender Global.asax details private static readonly log4net.ILog.. name variables log4net.GlobalContext.Properties LogName GetType .Assembly.GetName .Name .log log4net.GlobalContext.Properties..

Best way to dynamically set an appender file path

http://stackoverflow.com/questions/571876/best-way-to-dynamically-set-an-appender-file-path

type log4net.Util.PatternString value ~ App_Data property LogName .... appender This is dynamic you just have to set the log4net.. This is dynamic you just have to set the log4net property LogName before you initialize log4net. Thus in your code any time before.. log4net set the desired value of this property string LogName GetType .Assembly.GetName .Name .log log4net.GlobalContext.Properties..