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

Reduce noise in logs #888

Merged
merged 8 commits into from
Oct 13, 2022
Merged

Reduce noise in logs #888

merged 8 commits into from
Oct 13, 2022

Conversation

ZakarFin
Copy link
Member

  • By default contexts in Tomcat are read-only. DatasourceHelper now detects this and prints out more helpful message in logs.
  • Most users don't have W3W Search channel configured but it makes a lot of stack trace on server start because of missing API-key. The stack trace can be ignored but this PR adds a mechanism for components to signal that they were not initialized properly (throwing ComponentSkippedRuntimeException in init) and shouldn't be added to components register without printing out all that stack trace.

@ZakarFin ZakarFin added this to the 2.10.0 milestone Oct 13, 2022
@ZakarFin ZakarFin merged commit 72ee397 into oskariorg:develop Oct 13, 2022
@ZakarFin ZakarFin deleted the log-cleaning branch October 13, 2022 12:13
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.

1 participant