[
https://issues.apache.org/jira/browse/LOG4NET-631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ralph Goers updated LOG4NET-631:
--------------------------------
LOG4NET is now dormant.
> Fails to create file (NotSupportedException) if appdomain in path contains
> colon
> --------------------------------------------------------------------------------
>
> Key: LOG4NET-631
> URL: https://issues.apache.org/jira/browse/LOG4NET-631
> Project: Log4net
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.0.8
> Reporter: Dominik Rauch
> Priority: Major
>
> We have a RollingFileAppender in place with the following path:
> {code:java}
> <conversionPattern value=".\Logs\%appdomain.%date{yyyyMMdd}.%processid.log" />
> {code}
> Unfortunately this fails if the AppDomain contains a colon, because the path
> is no longer valid in that case.
> To fully use this feature the AppDomain value should be stripped of invalid
> characters first, or replace those with an underline or something like that.
>
> As a workaround: is there a way to replace characters? Something like:
> {code:java}
> %appdomain{:<>|}{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)