This question has been flagged
1 Reply
6939 Views

Hello everyone.

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

Thanks!

Avatar
Discard
Author

Probably I didn't explained myself...

I know about the log options in odoo, and I don't want to reduce the log_level just for warnings.

I would like to know: 1) Where is the origin from those lines? 2) Why is repetting it each 30sg? 3) How can I remove them?

Thanks again

Best Answer

There are many logging options available in Odoo:

https://www.odoo.com/documentation/9.0/reference/cmdline.html

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:

--log-level warn

Avatar
Discard