Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
4541 มุมมอง

Hi

how can setup config file to log all event except info in log file?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

See this: https://www.youtube.com/watch?v=qmmEftBWAAg

Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

you can user log-level command line parameter 

./odoo-bin ..... --log-level=error (of course, you can define it on odoo config file)

if you want to target specific service of odoo then you can use --log-handler
ref: https://www.odoo.com/documentation/13.0/reference/cmdline.html
I recommend to use --log-level=warn so it will log warning, error and critical 

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks for video but i want to log error and warning in this video log all event

อวตาร
ละทิ้ง