Community mailing list archives

community@mail.odoo.com

Re: logfile configuration in WSGI file

by
Openies Services
- 05/06/2016 03:13:24
Hello Arjan, 

You can put the path of log file in the Odoo config file. which is recommended to create under directory /var/log/odoo. after that you can start your server with config file.

Here is our how to guide for Odoo installation will help you. http://openies.com/install-openerp-odoo-9-on-ubuntu-server-14-04-lts/

Hope this helps.

Thanks!
Openies Services

On Fri, May 6, 2016 at 7:26 AM, Cody Kitterman <ckitterm@gmail.com> wrote:
Good news or bad news first? Bad news is that I'm going to ask that you undo/revert your changes. Good news is that it is much simpler than that and I'm willing to help you out. Could you email me back directly and confirm the location of your configuration file (.openerp_serverrc)? Also, would you prefer the logs to be stored in your database or would you prefer an actual log file?

Regards,
     Cody K.

On Thu, May 5, 2016 at 1:57 PM, Arjan Duijs <arjanduijs@gmail.com> wrote:
Hi,
I have tried to specify the logfile location in the WSGI file
conf['logfile'] = '/home/josesapelli/webapps/odoo/odoo/openerp-server.log'

but that doesnt seem to have any effect.

how can i properly set the logfile?

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Thanks & Regards!
 
Skype: openies