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 "Luigi Alice (JIRA)" <ji...@apache.org> on 2014/10/16 16:27:33 UTC

[jira] [Created] (LOG4J2-874) Log file getting overwritten on Microsoft Windows Maschines

Luigi Alice created LOG4J2-874:
----------------------------------

             Summary: Log file getting overwritten on Microsoft Windows Maschines
                 Key: LOG4J2-874
                 URL: https://issues.apache.org/jira/browse/LOG4J2-874
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 2.0
         Environment: Java 7, Tomcat 7, Windows Server 2012 R2

            Reporter: Luigi Alice
            Priority: Critical


A problem with slashes?

does not work since version 2.0, but in rc1:
filePattern =    "C:\Server\Webapps\sql2008-test\WEB-INF/log/${ctx:remoteDnsName}/${ctx:log.uid}_app-%d{yyyy-MM-dd}-%i.log"

works:
filePattern =    "C:/Server/Webapps/sql2008-test/WEB-INF/log/${ctx:remoteDnsName}/${ctx:log.uid}_app-%d{yyyy-MM-dd}-%i.log"



--
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