Andrei Ciobanu
Andrei Ciobanu

Reputation: 12838

How do I hide hazelcast INFO logs?

I use Hazelcast in my application, and my console is flooded with Hazelcast logs. How do I "hide" all the info logs that I don't find so useful for the moment ?

In my application logging is made with slf4j with a log4j implementation.

Upvotes: 2

Views: 799

Answers (2)

yugo
yugo

Reputation: 198

Create a logger with WARN level

<logger name="com.hazelcast" level="WARN" additivity="false">
    <appender-ref ref="your_hz_file_appender" />
</logger>

Upvotes: 2

noctarius
noctarius

Reputation: 6094

You need to configure SLF4J to only show errors / warnings for the "com.hazelcast" package

Upvotes: 1

Related Questions