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

Add option to skip logging of successful jobs with no message #144

Closed
wants to merge 3 commits into from

Conversation

cveilleux
Copy link

Add a new settings DJANGO_CRON_LOG_EMPTY_MESSAGE_JOBS that allows to skip logging of successful jobs with no message.

The default value is True, so this is fully backward compatible.

@cveilleux cveilleux changed the title Skip empty logs: Add failing tests for the behavior of the new setting. Add option to skip logging of successful jobs with no message Dec 5, 2018
@oebilgen
Copy link

This is necessary. Can you please merge?

@cveilleux
Copy link
Author

I'm closing the PR, the feature as implemented cannot work.

The log is required to know if the job as run in the past. Disabling the log will cause the job to run on every call to runcrons.

@cveilleux cveilleux closed this Feb 17, 2020
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

Successfully merging this pull request may close these issues.

2 participants