Skip to content

Deprecate ILoggingAwareException#4547

Merged
TimWolla merged 1 commit intomasterfrom
deprecated-iloggingawareexception
Oct 12, 2021
Merged

Deprecate ILoggingAwareException#4547
TimWolla merged 1 commit intomasterfrom
deprecated-iloggingawareexception

Conversation

@TimWolla
Copy link
Copy Markdown
Member

The finalizeLog() method was initially added to support
com.woltlab.wcf.elasticSearch, as it logged the full - possibly huge -
Elasticsearch response, allowing it to log the response into a separate log
file.

This came with severe usability issues, as this log file is not readily
available from the ACP.

The Elasticsearch package was completely cleaned up, relying on the regular
Guzzle exceptions, and errors during JSON decoding no longer include the full
JSON.

Letting the Exception know that they've been logged is a layering violation
that will not play along nicely with #4342. The current method signature also
is pretty much limited to logging into files only.

Deprecate the interface, now that the only known user is gone.

The `finalizeLog()` method was initially added to support
com.woltlab.wcf.elasticSearch, as it logged the full - possibly huge -
Elasticsearch response, allowing it to log the response into a separate log
file.

This came with severe usability issues, as this log file is not readily
available from the ACP.

The Elasticsearch package was completely cleaned up, relying on the regular
Guzzle exceptions, and errors during JSON decoding no longer include the full
JSON.

Letting the Exception know that they've been logged is a layering violation
that will not play along nicely with #4342. The current method signature also
is pretty much limited to logging into files only.

Deprecate the interface, now that the only known user is gone.
@TimWolla TimWolla added the Bug label Oct 12, 2021
@TimWolla TimWolla requested a review from dtdesign October 12, 2021 13:54
@TimWolla TimWolla merged commit cfd6548 into master Oct 12, 2021
@TimWolla TimWolla deleted the deprecated-iloggingawareexception branch October 12, 2021 15:23
TimWolla added a commit to WoltLab/docs.woltlab.com that referenced this pull request Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants