Use separate module loggers instead of a single 'kafka' logger
This commit is contained in:
@@ -21,7 +21,8 @@ from kafka.util import (
|
||||
write_short_string, write_int_string, group_by_topic_and_partition
|
||||
)
|
||||
|
||||
log = logging.getLogger("kafka")
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
ATTRIBUTE_CODEC_MASK = 0x03
|
||||
CODEC_NONE = 0x00
|
||||
|
||||
Reference in New Issue
Block a user