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

Reject invalid trace levels to avoid obscure exceptions during logging #3856

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

katzyn
Copy link
Contributor

@katzyn katzyn commented Aug 3, 2023

Closes #3855.

@katzyn
Copy link
Contributor Author

katzyn commented Aug 3, 2023

I also replaced legacy SimpleDateFormat with modern DateTimeFormatter, modern class doesn't need synchronization, and added microseconds (nanoseconds aren't useful here) and time zone offsets to timestamps.

@katzyn katzyn merged commit 2ef51aa into h2database:master Aug 3, 2023
3 checks passed
@katzyn katzyn deleted the trace branch August 6, 2023 03:11
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.

Stackoverflow Error when using TRACE_LEVEL_SYSTEM_OUT=4
1 participant