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

Not write log with exception #541

Open
VasiliZas opened this issue Sep 24, 2024 · 2 comments
Open

Not write log with exception #541

VasiliZas opened this issue Sep 24, 2024 · 2 comments

Comments

@VasiliZas
Copy link

If an error occurs, tasks are restarted. Errors are caught but not logged. Logging values

            .failureLogging(LogLevel.WARN, true)
@dipeshsingh253
Copy link

dipeshsingh253 commented Oct 1, 2024

Hi @VasiliZas , I would like to contribute to this. Can you assign it to me?

Also can you please add the link to file from where you got this code.
.failureLogging(LogLevel.WARN, true)

@VasiliZas
Copy link
Author

Hi @VasiliZas , I would like to contribute to this. Can you assign it to me?

Also can you please add the link to file from where you got this code. .failureLogging(LogLevel.WARN, true)

Scheduler.create(dataSource, tasks)
.failureLogging(LogLevel.WARN, true)
.deleteUnresolvedAfter(Duration.ofDays(365L))
.tableName("scheduled_tasks")
.schedulerName(() -> "APP-scheduler");

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

2 participants