How can I control what is shown in Odoo logfiles? There are too many entries and my log files are large. I want to not show informational messages.
I've been watching my logs and I constantly watch the same lines each 30sg...
2016-08-17 12:10:13,138 31793 INFO ontruck openerp.modules.loading: loading 1 modules...
2016-08-17 12:10:13,158 31793 INFO ontruck openerp.modules.loading: 1 modules loaded in 0.02s, 0 queries
2016-08-17 12:10:13,196 31793 INFO ontruck openerp.modules.loading: loading 69 modules...
2016-08-17 12:10:13,272 31793 INFO ontruck openerp.modules.loading: 69 modules loaded in 0.08s, 0 queries
2016-08-17 12:10:13,602 31793 INFO ontruck openerp.modules.loading: Modules loaded.
Someone could help me to know where is the origin of that lineas and how can I remove it from the log... because it doesn't give me usefull information, and my log is growing too much
There are many logging options available in Odoo:
By default, Odoo displays all logging of level info except for workflow logging (warning only).
To DECREASE the amount of messages in the log file, you can change the log level to WARNING.
In the configuration file:
log_level = warn
At the command line:
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
|Asked: 8/17/16, 8:14 AM|
|Seen: 168 times|
|Last updated: 8/17/16, 12:38 PM|