You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In templates/odoo-9.0.init and templates/odoo-8.0.init, I suggest to replace this line :
LOGFILE={{ odoo_logdir }}/{{ odoo_service }}.log
by this line :
LOGFILE={{ odoo_config_logfile }}
Or even remove the line
Because otherwise the logfile parameter for the init daemon overwrite the logfile value in odoo config file
The text was updated successfully, but these errors were encountered:
Yes, it was deliberate to be able to launch Odoo manually in interactive mode, with the logs on the standard output (no logfile option in the configuration file), and when running Odoo in daemon mode, the log file is then managed by the init script.
I agree it is not obvious, nor very "clean".
But regarding your fix, removing all the --logfile=$LOGFILE part in the script should be the way to go, then find solutions to be able to run Odoo in daemon mode + manually with logs on standard output, but sharing the same configuration file.
In templates/odoo-9.0.init and templates/odoo-8.0.init, I suggest to replace this line :
LOGFILE={{ odoo_logdir }}/{{ odoo_service }}.log
by this line :
LOGFILE={{ odoo_config_logfile }}
Or even remove the line
Because otherwise the logfile parameter for the init daemon overwrite the logfile value in odoo config file
The text was updated successfully, but these errors were encountered: