logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-1844) Not the correct value of the month in the log
Date Fri, 10 Mar 2017 17:45:04 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Remko Popma updated LOG4J2-1844:
--------------------------------
    Description: 
if pattern contains Month like {{%d\{yyyy-mm-dd HH:mm:ss.SSS\}}}
log has wrong Month value
Window 8.1 like Month value =  19 or 34 or 35 or 36
2017-19-10 16:19:05.535 \[main\] for date 2017-03-10 
Window 7 like Month value = current value - 1
2017-02-10 16:19:05.535 \[main\] for date 2017-03-10 

  was:
if pattern contains Month like %d{yyyy-mm-dd HH:mm:ss.SSS}
log has wrong Month value
Window 8.1 like Month value =  19 or 34 or 35 or 36
2017-19-10 16:19:05.535 [main] for date 2017-03-10 
Window 7 like Month value = current value - 1
2017-02-10 16:19:05.535 [main] for date 2017-03-10 


> Not the correct value of the month in the log
> ---------------------------------------------
>
>                 Key: LOG4J2-1844
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1844
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.8.1
>         Environment: windows RUS (v.7 and 8.1 is accurate)
> eclipse 4.5.2
> java jdk 1.8.0_74
>            Reporter: Vasiliy Ponomarenko
>            Assignee: Remko Popma
>              Labels: month
>
> if pattern contains Month like {{%d\{yyyy-mm-dd HH:mm:ss.SSS\}}}
> log has wrong Month value
> Window 8.1 like Month value =  19 or 34 or 35 or 36
> 2017-19-10 16:19:05.535 \[main\] for date 2017-03-10 
> Window 7 like Month value = current value - 1
> 2017-02-10 16:19:05.535 \[main\] for date 2017-03-10 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message