Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent logback from emitting repeated "Empty watch file list. Disabling" messages

Tags:

logback

I have logback configured with the logback.xml located here: http://pastebin.com/KuqUEkXy.

Every minute, I see a log message emitted of the form:

18:26:21,486 |-INFO in ReconfigureOnChangeTask(born:1478715201485) - Empty watch file list. Disabling

Why is this happening and how can I get rid of these?

like image 460
eswenson Avatar asked Nov 09 '16 18:11

eswenson


2 Answers

In your logback configuration (logback.xml), you have to turn OFF (or better, just remove) the scan attributes in the configuration element

like image 131
Patrick Avatar answered Sep 16 '22 13:09

Patrick


Just remove the scan="true" in the first line of configuration

like image 41
Soumya Banerjee Avatar answered Sep 20 '22 13:09

Soumya Banerjee