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

remove log4j from java cdk #38583

Merged
merged 1 commit into from
May 23, 2024

Conversation

stephane-airbyte
Copy link
Contributor

What

How

Review guide

User Impact

Can this PR be safely reverted and rolled back?

  • YES πŸ’š
  • NO ❌

Copy link

vercel bot commented May 22, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview May 23, 2024 6:48pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label May 22, 2024
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-24-remove_nullable_from_generics branch from a4961f5 to 9f4d61b Compare May 22, 2024 22:35
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch from 36275d1 to 1559372 Compare May 22, 2024 22:35
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-24-remove_nullable_from_generics branch from 9f4d61b to caca8fd Compare May 22, 2024 22:51
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch from 1559372 to 8f12f17 Compare May 22, 2024 22:51
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-24-remove_nullable_from_generics branch from caca8fd to 939aa70 Compare May 22, 2024 23:10
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch from 8f12f17 to b3a8afd Compare May 22, 2024 23:10
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-24-remove_nullable_from_generics branch from 939aa70 to 57b123e Compare May 22, 2024 23:45
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch from b3a8afd to fbca668 Compare May 22, 2024 23:45
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-24-remove_nullable_from_generics branch from 57b123e to e7d7e90 Compare May 23, 2024 00:25
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch from fbca668 to 78bd0c6 Compare May 23, 2024 00:25
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-24-remove_nullable_from_generics branch from e7d7e90 to 41e795c Compare May 23, 2024 03:53
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch 2 times, most recently from e38c6ad to 22a3f6a Compare May 23, 2024 05:33
@stephane-airbyte stephane-airbyte marked this pull request as ready for review May 23, 2024 05:34
@stephane-airbyte stephane-airbyte requested review from a team, akashkulk, edgao, gisripa and postamar May 23, 2024 05:34
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-24-remove_nullable_from_generics branch from 41e795c to 936be01 Compare May 23, 2024 14:22
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch from 22a3f6a to 5949ada Compare May 23, 2024 14:22
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-24-remove_nullable_from_generics branch from 936be01 to 9167bae Compare May 23, 2024 14:27
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch from 5949ada to a163df0 Compare May 23, 2024 14:27
Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

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

rubberstamp :P

import org.slf4j.Logger
import org.slf4j.LoggerFactory

private val LOGGER = KotlinLogging.logger {}
Copy link
Contributor

Choose a reason for hiding this comment

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

curious: is it preferable to declare the logger outside the class?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah this is a question i have too. I'm inconsistently doing it inside the class and only outside when I need it in companion object.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it's either outside the class or inside the companion object. Definitely not inside the class, as that would create a new instance for each class instance

companion object {
private val LOGGER: Logger = LoggerFactory.getLogger(DefaultJdbcDatabase::class.java)
}
companion object {}
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: delete this?

@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch from a163df0 to 5b48886 Compare May 23, 2024 16:14
Copy link
Contributor Author

stephane-airbyte commented May 23, 2024

Merge activity

@stephane-airbyte stephane-airbyte changed the base branch from stephane/04-24-remove_nullable_from_generics to graphite-base/38583 May 23, 2024 18:38
@stephane-airbyte stephane-airbyte changed the base branch from graphite-base/38583 to master May 23, 2024 18:47
@stephane-airbyte stephane-airbyte force-pushed the stephane/04-26-remove_log4j_from_java_cdk branch from 5b48886 to 4dbf965 Compare May 23, 2024 18:48
@stephane-airbyte stephane-airbyte merged commit f74f5d9 into master May 23, 2024
27 checks passed
@stephane-airbyte stephane-airbyte deleted the stephane/04-26-remove_log4j_from_java_cdk branch May 23, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants