Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037849 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2018-02-07 11:35 | 2018-02-22 18:19 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 2615e116021b | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037849: Remove system key hash in log files as not useful and makes log-parsing harder | |||||||
Description | Currently there is special code automatically adding a new first field to any line in openbravo.log file. Example: ef97dd76 2018-02-05 14:00:18,758 [http-thread-pool-threads - 70] INFO ^ ^ ^ That shows in logfiles that the instance in activated and in theory could be used to identify the license used. However that info is easily available by other means (in the application, database query, etc...) Having that extra field make log-parsing harder as it is non-standard + also not even present always. As first few lines during openbravo start do not have it yet and only then it is added. Apart having that extra custom logic to runtime-reconfigure log4j might make updating the library harder. | |||||||
Steps To Reproduce | - | |||||||
Proposed Solution | Remove that feature. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0102268) hgbot (developer) 2018-02-08 08:29 |
Repository: erp/devel/pi Changeset: 2615e116021b412fb4a91e0ef5109688a35ca39b Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Feb 08 08:28:54 2018 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/2615e116021b412fb4a91e0ef5109688a35ca39b [^] fixed issue 37849: remove system key hash in log files This hash has been removed as it is not useful and complicates log parsing --- M src/org/openbravo/erpCommon/obps/ActivationKey.java --- |
(0102269) hgbot (developer) 2018-02-08 09:25 |
Repository: erp/devel/pi Changeset: 17c6f2da95962644832ef41e6bc8b28f41f8ea81 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Feb 08 09:25:40 2018 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/17c6f2da95962644832ef41e6bc8b28f41f8ea81 [^] realted to issue 37849: remove system key hash in log files Restored ActivationKey.getOpsLogId method as it is public and used --- M src/org/openbravo/erpCommon/obps/ActivationKey.java --- |
(0102337) caristu (developer) 2018-02-12 16:42 |
Code reviewed + tested |
(0102732) hudsonbot (developer) 2018-02-22 18:19 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/980a6ad5bbf5 [^] Maturity status: Test |
(0102733) hudsonbot (developer) 2018-02-22 18:19 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/980a6ad5bbf5 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2018-02-07 11:35 | shuehner | New Issue | |
2018-02-07 11:35 | shuehner | Assigned To | => platform |
2018-02-07 11:35 | shuehner | Modules | => Core |
2018-02-07 11:35 | shuehner | Triggers an Emergency Pack | => No |
2018-02-08 08:14 | alostale | Relationship added | related to 0036162 |
2018-02-08 08:29 | alostale | Assigned To | platform => alostale |
2018-02-08 08:29 | hgbot | Checkin | |
2018-02-08 08:29 | hgbot | Note Added: 0102268 | |
2018-02-08 08:29 | hgbot | Status | new => resolved |
2018-02-08 08:29 | hgbot | Resolution | open => fixed |
2018-02-08 08:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2615e116021b412fb4a91e0ef5109688a35ca39b [^] |
2018-02-08 08:30 | alostale | Review Assigned To | => caristu |
2018-02-08 09:25 | hgbot | Checkin | |
2018-02-08 09:25 | hgbot | Note Added: 0102269 | |
2018-02-12 16:42 | caristu | Note Added: 0102337 | |
2018-02-12 16:42 | caristu | Status | resolved => closed |
2018-02-12 16:42 | caristu | Fixed in Version | => 3.0PR18Q2 |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102732 | |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102733 |
Copyright © 2000 - 2009 MantisBT Group |