Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
all
Description
currently code generated from thrift uses slf4j while cassandra uses raw log4j.
There are various level in which this can be changed:
- simply switch log4j loggers with slf4j logger (done in patch)
- replacing log4j-isms (e.g. string concatenation+isFooEnabled in all code paths) with slf4j-isms (marker string + additional arguments)
- remove code that is already available for lsf4j (LogUtils.java, I believe is unnecessary)
I am posting this as a reminder, I have a half baked patch locally but it needs more work