Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to use the log level ?

By
JC
on 8/2/14, 4:35 AM 3,772 views

I understand we can change the log level in config file but could someone explain what we will expect for each level set?

#logging. Accepted values: info, debug_rpc, warn, test, critical, debug_sql, error, debug, debug_rpc_answer, notset

#default

log_level = info

 

 

2

Ben Bernard

--Ben Bernard--
1083
| 4 3 6
Jakarta, Indonesia
--Ben Bernard--
Ben Bernard
On 8/3/14, 10:37 PM

--log-level option is deprecated option. Use --log-handler=PREFIX:LEVEL for log verbosity. Usually log level info is not enough. If you debugging something set log-handler to :DEBUG, to debug (everything), usually add more helpfull log. But of course you don't want this info in productioin mode.

For example if you want to see log from test you can run the server with the following argument.

--log_level=:TEST --update=all --dabase=your_database

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 8/2/14, 4:35 AM
Seen: 3772 times
Last updated: 3/16/15, 8:10 AM