logging "No quality certificate" as INFO instead of WARNING

Bug #576987 reported by Christophe CHAUVET
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Fix Released
Low
Unassigned
Trunk
Fix Released
Medium
Unassigned

Bug Description

Hi

In my server log i see
[2010-05-07 15:11:32,857] WARNING:init:module my_module: no quality certificate
This message appear at each Open ERP start.
I want to automated the module upgrade and send an email to the manager if there is an ERROR or WARNING message, but my email is always send even if there are nothing. the "no quality certificat" is just an information not a warning.

Regards,

Revision history for this message
xrg (xrg) wrote : Re: [Bug 576987] [NEW] logging "No quality certificate" as INFO instead of WARNING

On Friday 07 May 2010, you wrote:
> Public bug reported:
>
> Hi
>
> In my server log i see
> [2010-05-07 15:11:32,857] WARNING:init:module my_module: no quality
> certificate This message appear at each Open ERP start.
> I want to automated the module upgrade and send an email to the manager if
> there is an ERROR or WARNING message, but my email is always send even if
> there are nothing. the "no quality certificat" is just an information not
> a warning.

++
My vote for that.

Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) wrote :

+1

The 'lack of quality certificate' is in no way a 'lack of quality' and should not scare end users and their system administrators from using custom modules which is the blood line of every implementation.

All quality certificate messages should just be logging.info not logging.warning

Revision history for this message
Erik Dannenberg (bloopark systems) (edannenberg) wrote :

Not that it matters to me, but if you got a maintenance contract its pretty much a must to run only with certified modules. Keeping those messages as warnings will help ensuring that.

It could however made configurable with very little effort.

(just change /bin/addons/base/modules/module.py line 503 at the time of this writing)

Revision history for this message
xrg (xrg) wrote : Re: [Bug 576987] Re: logging "No quality certificate" as INFO instead of WARNING

On Friday 13 August 2010, you wrote:
> ** Changed in: openobject-server/5.0
> Milestone: 5.0.11 => 5.0.13

Please, can we not do feature changes in stable version?
Just accept it's broken[1] and hack your email script. At trunk (v6.0) it is
already solved,.

[1] not the one that makes sense.. But not blocking.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been fixed by revision 2096 <email address hidden> authored to Christophe Chauvet.
Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.