Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
5 Replies
3299 Tampilan

2016-06-14 12:24:40,927 8886 INFO ? openerp: OpenERP version 9.0c

2016-06-14 12:24:40,927 8886 INFO ? openerp: addons paths: ['/home/harmony/.local/share/Odoo/addons/9.0', u'/opt/odoo/9.0-MM/9.0/addons', u'/opt/odoo/9.0-MM/9.0/openerp/addons', u'/home/harmony/workspace/9.0/odootraining']

2016-06-14 12:24:40,927 8886 INFO ? openerp: database: mmuser@127.0.0.1:5432

2016-06-14 12:24:41,030 8886 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069


The above log is in red color
Avatar
Buang

Maybe you have configured the output in eclise to the stderr instead of stdout ?

It is not a problem with Odoo but with your configuration !

Have you solved it?

Penulis

no i haven't solved this error and i did not change the eclipse configuration for stdout to red colour

Jawaban Terbai

Perhaps you should check your eclipse settings. This doesn't look like an Odoo thing... Text to the console from Odoo is usually the color of your system settings, except for critical warnings etc...

Avatar
Buang
Jawaban Terbai

Because Normal log Handler is configured for stderr:

https://github.com/odoo/odoo/blob/9.0/openerp/netsvc.py#L125

To fix, apply this patch (v9):

https://gist.github.com/a0c/7a5f9154eecb820444f3485633b939dc

Please add "Eclipse/IntelliJ IDEA" to your question title, as it also holds for IDEA.

Avatar
Buang