I have just started using log4net and I can write to my c# application. I'm currently writing to the log file "c:\log.txt" Defined in my .config file, but I would like to set the log file name at runtime. Can anyone help me with this?