Skip to content

Commit

Permalink
[#11990] Suppress MultiStageEngine query ClassCastException in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
intr3p1d committed Jan 23, 2025
1 parent cce82e7 commit ccae72c
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions web/src/main/resources/log4j2-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,20 @@
</Properties>

<Appenders>
<Select>
<SpringProfile name="local">
<Console name="console" target="system_out">
<PatternLayout pattern="${console_message_pattern}"/>
</Console>
</SpringProfile>
<SpringProfile name="release">
<Console name="console" target="system_out">
<PatternLayout pattern="${file_message_pattern}"/>
</Console>
</SpringProfile>
<DefaultArbiter>
<Console name="console" target="system_out">
<PatternLayout pattern="${console_message_pattern}"/>
</Console>
</DefaultArbiter>
</Select>
<Console name="console" target="system_out">
<!-- Select Pattern -->
<Select>
<SpringProfile name="local">
<PatternLayout pattern="${console_message_pattern}"/>
</SpringProfile>
<SpringProfile name="release">
<PatternLayout pattern="${file_message_pattern}"/>
</SpringProfile>
<DefaultArbiter>
<PatternLayout pattern="${console_message_pattern}"/>
</DefaultArbiter>
</Select>
</Console>

<RollingFile name="rollingFile" filename="${logging_dir}/pinpoint-web.log"
filepattern="${logging_dir}/pinpoint-web-${rolling-date-format}-%i.log" >
Expand Down Expand Up @@ -141,6 +138,9 @@
<Logger name="org.apache.hadoop" level="${logger_level}" additivity="false">
<AppenderRef ref="console"/>
</Logger>
<Logger name="org.apache.pinot.client.Connection" level="FATAL" additivity="false">
<AppenderRef ref="console"/>
</Logger>
<Root level="INFO">
<AppenderRef ref="console"/>
<AppenderRef ref="rollingFile"/>
Expand Down

0 comments on commit ccae72c

Please sign in to comment.