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

Hello, I am developing a module in Odoo 8 and usually I get the "500 internal server error - The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.".

Where is the log to see what is wrong? I have Win 7 x64.

Thanks!

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

Hello Jose

Odoo uses several configuration parameters during starting up of server, among those configuration parameters / options, one of the parameter
is 'logfile' which describes the log path of the odoo system, you can check the path in it and get to know where the system posts the log.  

For this configuration odoo may use the default (from default core file) values or use an external configuration file. You need to check how is your odoo server is running. In any case you need to know the value of 'logfile' parameter.

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

Thanks, I found it! Can I delete the old lines normally? Because the file is too big

Which lines you want to delete? Are you talking about the log lines?

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

Hi

Path for Windows 7/Windows Server 2008 is:

C:\"Program Files (x86)"\Odoo\server\odoo.log

You can open PowerShell and run:

Get-Content C:\"Program Files (x86)"\Odoo\server\odoo.log -Wait

Or use Baretail. Very easy to use.



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

hai,

    path of log file /var/log/odoo/odoo-server.log in ubuntu installation


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

Hello Jose and Emipro, 

Where do I look to find the value of the 'logfile' parameter?

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

Hello, in my case the log file is in ".../Odoo folder/server/openerp-server.log"

Thank you Jose. I found that on my local windows installation as well. Does it look the same for a server installation?

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 22
14778
1
thg 11 21
4899
0
thg 1 21
2267
8
thg 5 20
7779
0
thg 12 23
2921