You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2014/10/20 10:07:33 UTC
[jira] [Resolved] (LOG4J2-877) RollingFile ignoring
${sys:user.home} in filePattern which is working correct in fileName
[ https://issues.apache.org/jira/browse/LOG4J2-877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Remko Popma resolved LOG4J2-877.
--------------------------------
Resolution: Duplicate
Fix Version/s: 2.1
I think this is a duplicate of LOG4J2-829.
The fix for this issue is included in the 2.1 release, which is currently in progress. If no showstoppers are found, log4j-2.1 will be available in three days.
> RollingFile ignoring ${sys:user.home} in filePattern which is working correct in fileName
> -----------------------------------------------------------------------------------------
>
> Key: LOG4J2-877
> URL: https://issues.apache.org/jira/browse/LOG4J2-877
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.2
> Environment: Windows
> Reporter: Abhishek Manocha
> Labels: Rollover, async, file-pattern
> Fix For: 2.1
>
>
> I have RollingFile Appender defined like
> {code:xml}
> <RollingFile name="File" fileName="${sys:user.home}\test2.log" filePattern="${sys:user.home}\test2.%d{yyyy-MM-dd}-%i.log" immediateFlush="true" append="true">
> {code}
> The first file goes in my user home directory perfectly, but the archive ones go to my classpath folder wrongly
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org