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

Hi

I've been trying to get a WSGI environment up and running for Odoo 8. I've tried both uWSGI and mod_wsgi. They both run, but my problem is that I need to have the logs from the Odoo server. Adding conf['logfile'] in openerp-wsgi.py doesn't seem to have any effect at all. Is there some other way to configure Odoo in WSGI environments or am I missing something?

อวตาร
ละทิ้ง

at least you should have error logs, don't you?

Hi,

No. I am catching the logs with sentry but since I installed the wsgi environment, I do not have logs and nothing is logged in the log file defined in the config.

Do I have the correct set up? Is there something I am missing?

On 21 Apr 2015, at 14:30, Temur <vibliani.delta.comm.ge@gmail.com> wrote:

at least you should have error logs, don't you?

--
Temur
Sent by Odoo S.A. using Odoo about Forum Post WSGI and logging
คำตอบที่ดีที่สุด

Same here, I cannot have the logs as well.

Did you find a solution?

อวตาร
ละทิ้ง

Correction: yes, I do have the error logs.

คำตอบที่ดีที่สุด

I do have the apache logs and the access logs, but the odoo debug/warning/critical logging is nowhere to be found.

Have tried setting the conf['logfile'] = '/home/josesapelli/webapps/odoo/odoo/openerp-server.log'

but that didnt have any effect.

any idea?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
can not get apache2 to run locally แก้ไขแล้ว
2
พ.ย. 19
5547
3
ก.ค. 25
8745
1
พ.ค. 25
1041
1
พ.ค. 24
2560
0
ม.ค. 24
1724