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

Revert "FIR-32836: log is simplified now - no lombok in log (#405)" #444

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

stepansergeevitch
Copy link
Contributor

This reverts commit 5d3ac71.
It reverts logging back to lombok, since we have a customer with incompatibility

@stepansergeevitch stepansergeevitch self-assigned this Jul 11, 2024
@stepansergeevitch stepansergeevitch requested a review from a team as a code owner July 11, 2024 15:47
Copy link
Contributor

@ptiurin ptiurin left a comment

Choose a reason for hiding this comment

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

Minor comments, otherwise lgtm

@@ -2,7 +2,9 @@

import com.firebolt.jdbc.connection.FireboltConnection;
import integration.EnvironmentCondition;
import integration.EnvironmentCondition.Comparison;
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need this import?

@@ -16,6 +19,9 @@
import static java.lang.String.format;
import static java.util.stream.Collectors.toCollection;


@RequiredArgsConstructor
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this one is no longer needed as it was removed since the original change.

@@ -281,7 +281,8 @@ public String getLabel() {
assertNull(fireboltStatement.getResultSet());
fireboltStatement.getMoreResults(CLOSE_CURRENT_RESULT);
verify(fireboltStatementService, times(0)).execute(any(), any(), any());
assertTrue(logMessages.contains("Aborted query with id other label"), "Expected log message is not found");
// TODO: fix logging here, since we've reverted logging to lombok it doesn't catch log messages properly anymore
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's file a ticket before we forget

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link

@ptiurin
Copy link
Contributor

ptiurin commented Jul 18, 2024

Integration tests are succeeding, only one that fails is the timeout test (flaky).
https://github.com/firebolt-db/jdbc/actions/runs/9989654506/job/27608734475

@stepansergeevitch stepansergeevitch enabled auto-merge (squash) July 18, 2024 10:49
@stepansergeevitch stepansergeevitch merged commit 2ca83fe into master Jul 18, 2024
4 checks passed
@stepansergeevitch stepansergeevitch deleted the remove-slf4j branch July 18, 2024 10:52
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.

2 participants