Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029831Retail ModulesWeb POSpublic2015-05-08 14:412015-05-29 09:15
Orekaria 
Orekaria 
normalminoralways
closedfixed 
5
 
RR15Q3 
marvintm
No
0029831: Do not log every log level if the preference is still unknown
Do not log every log level if the preference is still unknown


The problem is that debug level log is reaching the Log Client because the application default action is to log unless a preference tells otherwise
In the ERP, open the Log Client window
Log into the webpos

Verify that debug level messages are reaching the log client (this is CORRECT as the mobile app still does not know the preferences and its default level is to log every level)

Verify that, after logged in, only correct log info is logged (this is CORRECT as the application now knows the preferences)
Raise the minimum log level when the preference is unknow to warn
No tags attached.
patch 1345.patch (1,336) 2015-05-14 14:26
https://issues.openbravo.com/file_download.php?file_id=8084&type=bug
Issue History
2015-05-08 14:41OrekariaNew Issue
2015-05-08 14:41OrekariaAssigned To => Orekaria
2015-05-08 14:41OrekariaTriggers an Emergency Pack => No
2015-05-08 14:58OrekariaFile Added: 1322.patch
2015-05-14 14:25OrekariaFile Deleted: 1322.patch
2015-05-14 14:26OrekariaFile Added: 1345.patch
2015-05-14 14:27hgbotCheckin
2015-05-14 14:27hgbotNote Added: 0077446
2015-05-14 14:27hgbotStatusnew => resolved
2015-05-14 14:27hgbotResolutionopen => fixed
2015-05-14 14:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3ff0757dfa3e86bde2628953b1842ccd903b9587 [^]
2015-05-27 09:33dmitry_mezentsevNote Added: 0077787
2015-05-29 09:15marvintmReview Assigned To => marvintm
2015-05-29 09:15marvintmStatusresolved => closed
2015-05-29 09:15marvintmFixed in Version => RR15Q3

Notes
(0077446)
hgbot   
2015-05-14 14:27   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3ff0757dfa3e86bde2628953b1842ccd903b9587
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Thu May 14 14:26:11 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3ff0757dfa3e86bde2628953b1842ccd903b9587 [^]

Fixes issue 29831: Log important log messages even if the preferences are still unknown

if the preferences' information is not available, all the log levels were being sent to the server. As more log is added, we want to prevent irrelevant messages to reach the log client when there is no information about what was set up in the backend

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0077787)
dmitry_mezentsev   
2015-05-27 09:33   
Not closed for 13 days!