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

Removed job <id> #392

Open
runborg opened this issue Jan 24, 2025 · 0 comments
Open

Removed job <id> #392

runborg opened this issue Jan 24, 2025 · 0 comments

Comments

@runborg
Copy link

runborg commented Jan 24, 2025

when a job is stopped in apscheduler, this results in a log messages like this:

2025-01-23 17:48:20,889 - INFO - apscheduler.scheduler (MainThread) - Removed job 89d21e3fd38342a8b3d3110a3bd424e3
2025-01-23 17:48:20,890 - INFO - apscheduler.scheduler (MainThread) - Removed job 82cfc1ffaf654f43b78e61c3097b3437
2025-01-23 17:48:20,890 - INFO - apscheduler.scheduler (MainThread) - Removed job 0a194b6e664a49978db34a38e2c3fcf4

These log messages are not identifiable by the user, as the job-id number is a internal non-exposed identifier.
Is it possible to get these removed job messages rewritten so that they mot follow the "Added job" messages that includes the name of the started job?
Staring job example:

2025-01-23 17:49:57,447 - INFO - apscheduler.scheduler (MainThread) - Added job "test-gw3-verify-524-state" to job store "default"
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