From 99544915603ed6b14361c7b07b58f7ec283acca9 Mon Sep 17 00:00:00 2001 From: Tigran Mkrtchyan Date: Wed, 25 Sep 2024 15:33:16 +0200 Subject: [PATCH] logback: suppress zookeeper warnings Motivation: ZK logs transient errors at warning log level, thus confusing dCache admins. ``` 22 Aug 2024 10:43:19 (System) [] Session 0x10041c40b759013 for server xxxxxxx, Closing socket connection.... org.apache.zookeeper.ClientCnxn$SessionTimeoutException: Client session timed out, have not heard from .... at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1251) ``` Modification: Update logback config to suppress warning messages. Result: Less noise in the log files. Fixes: #7564 Acked-by: Lea Morschel Target: master Require-book: no Require-notes: yes --- skel/etc/logback.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/skel/etc/logback.xml b/skel/etc/logback.xml index 2cf730ea7c5..7dd2d5de701 100644 --- a/skel/etc/logback.xml +++ b/skel/etc/logback.xml @@ -300,6 +300,12 @@ org.apache.zookeeper.server.NIOServerCnxnFactory error + + + org.apache.zookeeper.ClientCnxn + error + liquibase warn