You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "jrichview (JIRA)" <ji...@apache.org> on 2010/11/03 21:06:25 UTC
[jira] Created: (LOG4NET-276) RollingFileAppender - File Location
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.
[jira] [Updated] (LOG4NET-276) RollingFileAppender - File Location
Posted by "Stefan Bodewig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4NET-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Bodewig updated LOG4NET-276:
-----------------------------------
Fix Version/s: 1.2 Maintenance Release
> 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
> Fix For: 1.2 Maintenance Release
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira