Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odoo log redirection to STDERR doesn't seem to be working as we thought #10

Open
Nick-OpusVL opened this issue Feb 12, 2019 · 1 comment

Comments

@Nick-OpusVL
Copy link
Contributor

Nick-OpusVL commented Feb 12, 2019

Versions: 10.0

WIP-10.0-pg10-fix-preinstall-c-compiler

Getting this in output:

ERROR: couldn't create the logfile directory. Logging to the standard output.

suggesting that the --logfile=/dev/stderr isn't working quite as I thought.

Need to work out what we actually intend to do with the logs, and make sure we're using the right runes to ensure that in such a way it's not just appearing to work by coincidence.

Entered opusvl-entrypoint.py
Changing uid to odoo uid: 104
/entrypoint.sh ['-d', 'test', '-u', '[clipped for privacy]', '--test-enable', '--stop-after-init', '--max-cron-threads=0', '--addons-path=[clipped for privacy]/mnt/extra-addons-bundles/OCA_web,/mnt/extra-addons-bundles/OpusVL_odoo-manufacturing-extras,/mnt/extra-addons-bundles/intrastat-extrastat,/mnt/extra-addons-bundles/OCA_stock-logistics-warehouse,/mnt/extra-addons-bundles/OpusVL_odoo-product-extras,/mnt/extra-addons-bundles/muk-it_muk_web,/mnt/extra-addons-bundles/OCA_manufacture,/mnt/extra-addons-bundles/OpusVL_odoo-form-width-increase,/mnt/extra-addons-bundles/HtmlTreeWidget,/mnt/extra-addons-bundles/OCA_commission,/mnt/extra-addons-bundles/OpusVL_odoo-account-extras,/mnt/extra-addons-bundles/OpusVL_odoo-purchase-extras,/mnt/extra-addons-bundles/OCA_server-tools,/mnt/extra-addons-bundles/OpusVL_product-variant,/mnt/extra-addons-bundles/SerpentCS_Contributions', '--logfile=/dev/stderr']
ERROR: couldn't create the logfile directory. Logging to the standard output.
2019-02-12 14:26:46,980 12 INFO ? odoo: Odoo version 10.0-20181109
@Nick-OpusVL Nick-OpusVL changed the title Log redirection to STDERR doesn't seem to be working as we thought Odoo log redirection to STDERR doesn't seem to be working as we thought Feb 12, 2019
@Nick-OpusVL
Copy link
Contributor Author

I believe stderr is the right place, because it's possible we could have command line tools that load the server and provide meaningful stuff on stdout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant