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

[12.0][ADD] slow_statement_logger #1729

Merged
merged 2 commits into from
Dec 4, 2019

Conversation

sbidoul
Copy link
Member

@sbidoul sbidoul commented Nov 23, 2019

This module lets you log slow SQL statements. It is useful when you don't have
access to the PostgreSQL log or when it is difficult to correlate the
PostgreSQL log with the Odoo log.

@sbidoul sbidoul changed the title [ADD] slowquery_logger [12.0][ADD] slowquery_logger Nov 23, 2019
@sbidoul sbidoul force-pushed the 12.0-add-slowquery_logger-sbi branch from a02ba00 to a6ec05e Compare November 23, 2019 12:41
@sbidoul sbidoul changed the title [12.0][ADD] slowquery_logger [12.0][ADD] slow_statement_logger Nov 23, 2019
slow_statement_logger/__manifest__.py Outdated Show resolved Hide resolved
slow_statement_logger/readme/USAGE.rst Outdated Show resolved Hide resolved
slow_statement_logger/readme/USAGE.rst Outdated Show resolved Hide resolved
@sbidoul sbidoul force-pushed the 12.0-add-slowquery_logger-sbi branch from 60be48d to 5410826 Compare November 25, 2019 15:30
This is effectively a debugging information and logging
with a warning level would create too much noise in
log capture systems such as Sentry.
@sbidoul
Copy link
Member Author

sbidoul commented Nov 26, 2019

After further thinking I decided to log with debug level.

@sbejaoui
Copy link
Contributor

sbejaoui commented Dec 4, 2019

Very useful, Thank you (y)

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@lmignon
Copy link
Sponsor Contributor

lmignon commented Dec 4, 2019

/ocabot merge

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 12.0-ocabot-merge-pr-1729-by-lmignon-bump-no, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Dec 4, 2019
Signed-off-by lmignon
@OCA-git-bot OCA-git-bot merged commit 5c9fa02 into OCA:12.0 Dec 4, 2019
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at f8b4c5a. Thanks a lot for contributing to OCA. ❤️

@sbidoul sbidoul deleted the 12.0-add-slowquery_logger-sbi branch December 4, 2019 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants