JulienOpensee opened a new issue, #187:
URL: https://github.com/apache/logging-log4net/issues/187

   Regression following the switch from 2.17 -> 3.0.0.
   This configuration fails:
   
   <log4net>
        <appender name="FileAppender" type="log4net.Appender.FileAppender">
                <file type="log4net.Util.PatternString" 
value="%envFolderPath{MyDocuments}\Opensee\Logs\Opensee_logs_%date{yyyy-MM-dd_HH-mm-ss}.log"
 />
                <appendToFile value="false" />
                <layout type="log4net.Layout.PatternLayout">
                        <conversionPattern value="%date [%thread] %level - 
%message%newline" />
                </layout>
        </appender>
        <root>
                <level value="ALL" />
                <appender-ref ref="FileAppender" />
        </root>
   </log4net>
   
   Error: Unable to set property [file] on object 
[log4net.Appender.FileAppender] using value 
[%envFolderPath{MyDocuments}\Opensee\Logs\Opensee_logs_%date{yyyy-MM-dd_HH-mm-ss}.log]
 (with acceptable conversion types)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to