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

Hi,

Is there a way to access Odoo logs for my Saas instance?  We would like to troubleshoot issues taking place in our Saas instance by reviewing the associated log.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Gregory,

There is no option available to view logfiles for Odoo instances on the SaaS sadly. This is only possible if you host your Odoo instance or on Odoo.sh. If you really have a severe issue you could try to reach out to Odoo itself (through support@odoo.com).

However, if you're quite technical there is a way to get your own output in the Odoo SaaS though. You have the option to write your own log statements from server actions. If you write server actions that go off on the moment you have issues you can write output and variables into the table 'ir.logging'. In an automated action you can check on the option "Execute Python Code" from which you can trigger log statements:

log('Something went wrong for ' + record.name + '..', 'error')

You can use all the default logging statement options available in Odoo:

- debug
- info
- warning
- error
- critical

Regards,
Yenthe

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

Thanks Yenthe. This helps....

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 23
20923
2
thg 12 22
3314
0
thg 7 20
2290
2
thg 3 19
5790
0
thg 1 18
3430