Enterprise Library 6 - dynamically change log file name
问题 Is it possible to dynamically set log folder and file name in C# which overrides the config value(file name) in the Listeners section of logging configuration? Tried to follow the below link but it is applicable only for EL 5 Log messages going to previously created log file This is how i Initialize EL Logging: IConfigurationSource configurationSource = ConfigurationSourceFactory.Create(); LogWriterFactory logWriterFactory = new LogWriterFactory(configurationSource); Logger.SetLogWriter