Skip to content

Add method signature to log#25252

Merged
shangm2 merged 1 commit intoprestodb:masterfrom
shangm2:improveLogging
Jun 5, 2025
Merged

Add method signature to log#25252
shangm2 merged 1 commit intoprestodb:masterfrom
shangm2:improveLogging

Conversation

@shangm2
Copy link
Contributor

@shangm2 shangm2 commented Jun 5, 2025

Description

  1. Add method signature to log
  2. Remove unused method.

Motivation and Context

Impact

Test Plan

Contributor checklist

  • Please make sure your submission complies with our contributing guide, in particular code style and commit standards.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

== NO RELEASE NOTE ==

@shangm2 shangm2 requested a review from a team as a code owner June 5, 2025 02:19
@shangm2 shangm2 requested a review from ZacBlanco June 5, 2025 02:19
@prestodb-ci prestodb-ci added the from:Meta PR from Meta label Jun 5, 2025
}
catch (Throwable t) {
log.error("Error executing task on event loop", t);
log.error("Error executing method %s on event loop: %s", methodSignature, t);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why two %s ?
log.error(t, "Error executing method %s on event loop", methodSignature);

this should suffice right ?

NikhilCollooru
NikhilCollooru previously approved these changes Jun 5, 2025
@shangm2 shangm2 merged commit 3719f8c into prestodb:master Jun 5, 2025
100 of 101 checks passed
@prestodb-ci prestodb-ci mentioned this pull request Jul 28, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

from:Meta PR from Meta

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants