-
Notifications
You must be signed in to change notification settings - Fork 261
AutoScan not working with Appender properties #37
Comments
I am not really sure how the ReconfigureOnChangeFilter works, i.e. if if really reinitializes the logging context using reset (in that case, the kafka appender should naturally work) or if it simply reapplies all properties to the existing appender. |
Just dived into the code. A simple reset is not enough since it just stops all appenders but does not restart them. To reload the kafka producer, the whole configuration has to be reinitialized (using the |
I am trying to use the TurboFiltercalled ReconfigureOnChangeFilter to change the properties of appender like broker and topic and they wouldnt take effect with the KafkaAppender.
http://logback.qos.ch/manual/configuration.html#autoScan
Can somebody please point me to how I can implement this quickly for the Kafka Appender. We have an environment where we might need to change the brokers or topicname maybe not so frequently, but preferably without restarting the server.
thanks
Vidhya
The text was updated successfully, but these errors were encountered: