<commit_before># Must have org.apache.pig logger, or it will throw exception when load log4j.properties.
log4j.rootLogger=info, console, file

# ***** A is set to be a ConsoleAppender.
log4j.appender.console=org.apache.log4j.ConsoleAppender
# ***** A uses PatternLayout.
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{yyyy-MM-dd hh:mm:ss}: %p %c{1} - %m%n

# Rolling File log
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=shifu.log
log4j.appender.file.MaxFileSize=10MB
# Keep one backup file
log4j.appender.file.MaxBackupIndex=10
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd hh:mm:ss}:%p %t %c - %m%n
<commit_msg>change log4j to append zookeeper log to zookeeper.log, not console and shifu.log<commit_after># Must have org.apache.pig logger, or it will throw exception when load log4j.properties.
log4j.rootLogger=info, console, file
log4j.additivity.org.apache.zookeeper=false
log4j.logger.org.apache.zookeeper=info, zookeeper

# ***** A is set to be a ConsoleAppender.
log4j.appender.console=org.apache.log4j.ConsoleAppender
# ***** A uses PatternLayout.
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{yyyy-MM-dd hh:mm:ss}: %p %c{1} - %m%n

# Rolling File log
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=shifu.log
log4j.appender.file.MaxFileSize=10MB
# Keep one backup file
log4j.appender.file.MaxBackupIndex=10
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd hh:mm:ss}:%p %t %c - %m%n

# Rolling File log
log4j.appender.zookeeper=org.apache.log4j.RollingFileAppender
log4j.appender.zookeeper.File=zookeeper.log
log4j.appender.zookeeper.MaxFileSize=10MB
# Keep one backup file
log4j.appender.zookeeper.MaxBackupIndex=10
log4j.appender.zookeeper.layout=org.apache.log4j.PatternLayout
log4j.appender.zookeeper.layout.ConversionPattern=%d{yyyy-MM-dd hh:mm:ss}:%p %t %c - %m%n

{'fraction_non_alphanumeric': 0.12702078521939955, 'fraction_numerical': 0.025404157043879907, 'mean_word_length': 5.278260869565218, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5204144', 'n_tokens_mistral': 879, 'n_tokens_neox': 858, 'n_words': 131}