prefer LOG.debug to System.err.println

Signed-off-by: olivier lamy <olamy@webtide.com>
This commit is contained in:
olivier lamy 2017-04-21 11:44:50 +10:00
parent a654c7c9e5
commit 970cec230b
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)