Merge pull request #1491 from olamy/bugfix/remove_syserr_println

prefer LOG.debug to System.err.println
This commit is contained in:
Joakim Erdfelt 2017-04-20 20:34:09 -07:00 committed by GitHub
commit a584646c82
1 changed files with 4 additions and 1 deletions

View File

@ -292,7 +292,10 @@ public class PropertyUserStore extends UserStore implements PathWatcher.Listener
{
try
{
System.err.println("PATH WATCH EVENT: "+event.getType());
if (LOG.isDebugEnabled())
{
LOG.debug( "PATH WATCH EVENT: {}", event.getType() );
}
loadUsers();
}
catch (IOException e)