Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8932 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 23
2254
5
thg 7 24
38364
2
thg 10 22
4695
2
thg 2 19
6280
0
thg 2 18
3909