log4net doesn\'t do the correct PatternString substitution for my login name. I want my log to be
Logs\\YYYYMMDD\\MSMQcore_[username].lo
Just one improvement to the Kit's solution: Use attribute
[TypeConverter("namespace.ConfigurationSettingsPatternStringConverter")]
public class ConfigurationSettingsPatternString : PatternString
{
And the call to
ConverterRegistry.AddConverter(
// type we want to convert to (from string)...
typeof(ConfigurationSettingsPatternString),
// the type of the type converter that will do the conversion...
typeof(ConfigurationSettingsPatternStringConverter));
is no longer required.