Carlos Vercelino's picture

Hi Jeremy,

Thank you for your attention.

Regarding the logging, I think the README.rst text is a bit confusing. I do not disable the logging, what I do is disable the "file logging". If you manually start the Odoo server using the scond config file (/etc/odoo/openerp-server-man.conf), the loggings wil be sent to the terminal instead of a "log file". I use this during the development of new modules for Oddo. The steps are those:

 1. Copy file "/etc/odoo/openerp-server.conf" into "/etc/odoo/openerp-server-man.conf". Edit the file "/etc/odoo/openerp-server-man.conf":

#logfile = False
logfile = /var/log/odoo/openerp-server.log
logfile = False
#logfile = /var/log/odoo/openerp-server.log

 2. Stop the Odoo server (if is is already running the normal way), using the following command (as root):

/etc/init.d/openerp-server stop

3. Start manually the Odoo server, using the following commands (as root):

cd /opt/openerp/odoo
su openerp
./openerp-server -c /etc/odoo/openerp-server-man.conf

4. Do whatever you need with the Odoo Server and all the loggings will be sent to the shell terminal. When finished stop the server by simply pressing Control^C at the terminal and use the folowing commands to re-start the Odoo Server the normal way:

exit
/etc/init.d/openerp-server start

Regards,

Carlos Vercelino