openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15205
[Bug 1027035] Re: [trunk/6.1] Not respecting log_level
Hello,
I have checked this issue at my end and i found that its not bug but configuration issue.
You can use --log-handler to handle log.
default configuration for handlers is
default_config = [
'openerp.netsvc.rpc.request:INFO',
'openerp.netsvc.rpc.response:INFO',
'openerp.addons.web.common.http:INFO',
'openerp.addons.web.common.openerplib:INFO',
'openerp.sql_db:INFO',
':INFO',
]
You can setup a handler at LEVEL for a given PREFIX. An empty PREFIX indicates the root logger. This option can be repeated. (default: ":INFO") Example "werkzeug:ERROR" ,"werkzeug:CRITICAL"
in this case you can use option --log-handler=werkzeug:ERROR.
So this is not any valid bug and i am setting this bug invalid.
Thanks,
Turkesh Patel
** Changed in: openobject-server
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1027035
Title:
[trunk/6.1] Not respecting log_level
Status in OpenERP Server:
Invalid
Bug description:
Hi,
I've got in my config file
; Log settings
logfile = /var/log/openerp/openerp-server.log
syslog = False
logrotate = True
log_level = error
but it still logs info messages in the log file...
2012-07-20 10:59:58,187 3008 INFO ? werkzeug: 127.0.0.1 - - [20/Jul/2012 10:59:58] "POST /web/dataset/search_read HTTP/1.0" 200 -
2012-07-20 10:59:58,196 3008 INFO ? werkzeug: 127.0.0.1 - - [20/Jul/2012 10:59:58] "POST /web/dataset/get HTTP/1.0" 200 -
2012-07-20 11:00:11,686 3008 INFO ? werkzeug: 127.0.0.1 - - [20/Jul/2012 11:00:11] "POST /xmlrpc/object HTTP/1.0" 200 -
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1027035/+subscriptions
References