Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017602Openbravo ERPA. Platformpublic2009-04-27 15:072011-06-17 15:27
shuehner 
shuehner 
highmajorhave not tried
closedfixed 
5
2.40MP3 
2.50MP31 
Core
No
0017602: Change default log4j-configuration to include date+time instead of only date
Currently each line written by log4j has the timestamp with the time of the event to see when it happened.

When looking into some production instance logfile this is not enough as for older entries you cannot know at which date they did happen.
 
Check any openbravo.log file entry and see not date is included in the timestamp.
Change the log4j configuration (in all of the config-files) to include the date in the timestamp.
No tags attached.
blocks feature request 00087793.0MP1 closed shuehner Change default log4j-configuration to include date+time instead of only date 
Issue History
2011-06-10 15:56shuehnerTypefeature request => backport
2011-06-10 15:56shuehnerfix_in_branch => 2.50
2011-06-10 16:02shuehnerTarget Version => 2.50MP31
2011-06-14 13:54hgbotCheckin
2011-06-14 13:54hgbotNote Added: 0038345
2011-06-14 13:54hgbotStatusscheduled => resolved
2011-06-14 13:54hgbotResolutionopen => fixed
2011-06-14 13:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/b6bf61f9e3dfe5ac0ecc4af66d10a95e12da275e [^]
2011-06-17 15:27marvintmStatusresolved => closed

Notes
(0038345)
hgbot   
2011-06-14 13:54   
Repository: erp/stable/2.50
Changeset: b6bf61f9e3dfe5ac0ecc4af66d10a95e12da275e
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Jun 14 13:53:28 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/b6bf61f9e3dfe5ac0ecc4af66d10a95e12da275e [^]

Fixed 17602: Add date to line-prefix of each openbrav.log line
Switch pattern from only time to ISO8601 which includes day date also.

---
M config/log4j.lcf.template
---