Skip to content

Commit

Permalink
[#noissue] Remove color tag in log4j2 logging format except local
Browse files Browse the repository at this point in the history
  • Loading branch information
intr3p1d committed May 12, 2023
1 parent f9a586c commit e53683a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions collector/src/main/resources/log4j2-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
</SpringProfile>
<SpringProfile name="release">
<Property name="backupsize">100GB</Property>
<Property name="console_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %clr{%-5level} %clr{%-40.40logger{1.}}{cyan} : %msg{nolookups}%n</Property>
<Property name="console_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.} : %msg{nolookups}%n</Property>
<Property name="file_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.} : %msg{nolookups}%n</Property>
<Property name="accumulated_file_size">2000GB</Property>
<Property name="accumulated_file_count">100</Property>
<Property name="logger_level">INFO</Property>
</SpringProfile>
<DefaultArbiter>
<Property name="backupsize">1GB</Property>
<Property name="console_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %clr{%-5level} %clr{%-40.40logger{1.}}{cyan}:%3L -- %msg{nolookups}%n</Property>
<Property name="file_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.}:%3L -- %msg{nolookups}%n</Property>
<Property name="console_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.} : %msg{nolookups}%n</Property>
<Property name="file_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.} : %msg{nolookups}%n</Property>
<Property name="accumulated_file_size">1GB</Property>
<Property name="accumulated_file_count">50</Property>
<Property name="logger_level">DEBUG</Property>
Expand Down
6 changes: 3 additions & 3 deletions web/src/main/resources/log4j2-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
</SpringProfile>
<SpringProfile name="release">
<Property name="backupsize">100GB</Property>
<Property name="console_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %clr{%-5level} %clr{%-40.40logger{1.}}{cyan} -- %msg{nolookups}%n</Property>
<Property name="console_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.} -- %msg{nolookups}%n</Property>
<Property name="file_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.} -- %msg{nolookups}%n</Property>
<Property name="accumulated_file_size">2000GB</Property>
<Property name="accumulated_file_count">100</Property>
<Property name="logger_level">INFO</Property>
</SpringProfile>
<DefaultArbiter>
<Property name="backupsize">1GB</Property>
<Property name="console_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %clr{%-5level} %clr{%-40.40logger{1.}}{cyan}:%3L -- %msg{nolookups}%n</Property>
<Property name="file_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.}:%3L -- %msg{nolookups}%n</Property>
<Property name="console_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.} -- %msg{nolookups}%n</Property>
<Property name="file_message_pattern">%d{MM-dd HH:mm:ss.sss} [%15.15t] %-5level %-40.40logger{1.} -- %msg{nolookups}%n</Property>
<Property name="accumulated_file_size">1GB</Property>
<Property name="accumulated_file_count">50</Property>
<Property name="logger_level">DEBUG</Property>
Expand Down

0 comments on commit e53683a

Please sign in to comment.