-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
remove log4j from java cdk #38583
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 1 Ignored Deployment
|
a4961f5
to
9f4d61b
Compare
36275d1
to
1559372
Compare
9f4d61b
to
caca8fd
Compare
1559372
to
8f12f17
Compare
caca8fd
to
939aa70
Compare
8f12f17
to
b3a8afd
Compare
939aa70
to
57b123e
Compare
b3a8afd
to
fbca668
Compare
57b123e
to
e7d7e90
Compare
fbca668
to
78bd0c6
Compare
e7d7e90
to
41e795c
Compare
e38c6ad
to
22a3f6a
Compare
41e795c
to
936be01
Compare
22a3f6a
to
5949ada
Compare
936be01
to
9167bae
Compare
5949ada
to
a163df0
Compare
There was a problem hiding this 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 {} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: delete this?
a163df0
to
5b48886
Compare
Merge activity
|
5b48886
to
4dbf965
Compare
What
How
Review guide
User Impact
Can this PR be safely reverted and rolled back?