Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] K. Packagingminoralways2009-08-19 09:292009-11-14 00:00
ReporterrafarodaView Statuspublic 
Assigned Tojpabloae 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision00480773b8bf
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0010329: Add ConsoleAppender to display logs in Eclipse

DescriptionIn order to display error logs in Eclipse, we need to make the following:
- Open log4j.lcf (in main dir, not in config)
- Copy all lines with log4j.appender.A1
- Paste them into config/log4j.lcf i.e. after the log4j.appender.R.MaxBackupIndex line
- Add a ", A1" to the first line about rootCategory.

This enables logging to Console (i.e. eclipse console) in addition to any other already configured logging.

We might want to add the A1 lines to the .template without activating them. So the instructions would just be add the part to rootCategory.. If we do this i would rename A1 to C to better state the purpose (ConsoleAppender)
TagsNo tags attached.
Attached Filesdiff file icon logging.diff [^] (1,223 bytes) 2009-08-19 14:56 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
shuehner (administrator)
2009-08-19 14:15

Note we only want to add the ConsoleAppender for eclipse, normally one does not want to use it with a deployed tomcat, as it will likely output the logs twice (once like normal in openbravo.log, and a second time in catalina.out (which is redirected console)). So we most likely want to only add the ConsoleAppender but do not activate it by default.
jpabloae (reporter)
2009-08-19 14:38

Yes, adding this by default would be overkill for production usage.

Rafa: what do you think if we added this commented in the file?
shuehner (administrator)
2009-08-19 14:57

Added proposed change. Add ConsoleAppender config by default, but do not enable it
hgbot (developer)
2009-08-24 19:26

Repository: erp/devel/pi
Changeset: 00480773b8bf9985f47e1d75c870b6eb5bd515cf
Author: Juan Pablo Aroztegi <juanpablo.aroztegi <at>>
Date: Mon Aug 24 19:25:31 2009 +0200
URL: [^]

Fixes issue 10329: Add optional ConsoleAppender to display logs in Eclipse

M config/log4j.lcf.template
plujan (manager)
2009-11-13 16:36

Not verified by QA since it has no functional impact on the ERP

- Issue History
Date Modified Username Field Change
2009-08-19 09:29 rafaroda New Issue
2009-08-19 09:29 rafaroda Assigned To => jpabloae
2009-08-19 14:15 shuehner Note Added: 0019055
2009-08-19 14:38 jpabloae Note Added: 0019058
2009-08-19 14:44 jpabloae Status new => feedback
2009-08-19 14:56 shuehner File Added: logging.diff
2009-08-19 14:57 shuehner Note Added: 0019063
2009-08-24 19:26 hgbot Checkin
2009-08-24 19:26 hgbot Note Added: 0019202
2009-08-24 19:26 hgbot Status feedback => resolved
2009-08-24 19:26 hgbot Resolution open => fixed
2009-08-24 19:26 hgbot Fixed in SCM revision => [^]
2009-11-13 16:36 plujan Note Added: 0021816
2009-11-13 16:36 plujan Status resolved => closed
2009-11-14 00:00 anonymous sf_bug_id 0 => 2897488

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker