Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0010329 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] K. Packaging | minor | always | 2009-08-19 09:29 | 2009-11-14 00:00 | |||
Reporter | rafaroda | View Status | public | |||||
Assigned To | jpabloae | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 00480773b8bf | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0010329: Add ConsoleAppender to display logs in Eclipse | |||||||
Description | In 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) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0019055) 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. |
(0019058) jpabloae (viewer) 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? |
(0019063) shuehner (administrator) 2009-08-19 14:57 |
Added proposed change. Add ConsoleAppender config by default, but do not enable it |
(0019202) hgbot (developer) 2009-08-24 19:26 |
Repository: erp/devel/pi Changeset: 00480773b8bf9985f47e1d75c870b6eb5bd515cf Author: Juan Pablo Aroztegi <juanpablo.aroztegi <at> openbravo.com> Date: Mon Aug 24 19:25:31 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/00480773b8bf9985f47e1d75c870b6eb5bd515cf [^] Fixes issue 10329: Add optional ConsoleAppender to display logs in Eclipse --- M config/log4j.lcf.template --- |
(0021816) plujan (viewer) 2009-11-13 16:36 |
Not verified by QA since it has no functional impact on the ERP |
![]() |
|||
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 09:29 | rafaroda | OBNetwork customer | => No |
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 | => http://code.openbravo.com/erp/devel/pi/rev/00480773b8bf9985f47e1d75c870b6eb5bd515cf [^] |
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 |