跳至內容
選單
此問題已被標幟
1 回覆
8697 瀏覽次數

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!

頭像
捨棄
作者

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

最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 23
1921
5
7月 24
37432
2
10月 22
4433
2
2月 19
6022
0
2月 18
3698