We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Logs are sucesffully stored in /var/log/odoo/ but they cannot be seen with docker logs.
This nginx solution might be helpful:
# forward request and error logs to docker log collector RUN ln -sf /dev/stdout /var/log/nginx/access.log \ && ln -sf /dev/stderr /var/log/nginx/error.log
The text was updated successfully, but these errors were encountered:
@fizcris I'd like to share with you my own solution to this problem, that is log in both "docker log" and "file log".
By default, Odoo log goes only to "docker log". To also get "file log", just put the following line tinto entrypoint.sh:
entrypoint.sh
# ... # redirect stdout and stderr into file exec &> >(tee "/var/log/odoo/odoo-entrypoint.log") # ...
@fizcris it's funny, because my solution is opposite to yours :)
Sorry, something went wrong.
@fizcris can you confirm this with Odoo 17? If this issue is no longer needed please close.
No branches or pull requests
Logs are sucesffully stored in /var/log/odoo/ but they cannot be seen with docker logs.
This nginx solution might be helpful:
The text was updated successfully, but these errors were encountered: