RollingFileAppender - File Location
-----------------------------------
Key: LOG4NET-276
URL: https://issues.apache.org/jira/browse/LOG4NET-276
Project: Log4net
Issue Type: Improvement
Components: Appenders
Environment: Windows
Reporter: jrichview
I specified only the file name with no path so it, naturally, wrote the file to
the "current directory" which turned out to be an unexpected folder. Googled,
but didn't see an easy way to configure a RollingFileAppender (or FileAppender)
to write the output file to the same folder as the log4net config file.
It would also be nice to be able to specify that the file be written to
whatever folder the log4net assembly is running from. I would've assumed this
would be an easy/common config setting, but I couldn't find it anywhere.
I'm still learning so if the feature already exists, please post.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.