Skip to content
Snippets Groups Projects
Commit 4a263b2c authored by brinn's avatar brinn
Browse files

change: improve logging

SVN: 1686
parent cdb983a4
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,7 @@ public final class DirectoryScanningTimerTask extends TimerTask implements ISelf ...@@ -119,7 +119,7 @@ public final class DirectoryScanningTimerTask extends TimerTask implements ISelf
{ {
if (operationLog.isTraceEnabled()) if (operationLog.isTraceEnabled())
{ {
operationLog.trace("Start scanning directory."); operationLog.trace("Start scanning directory " + sourceDirectory + ".");
} }
checkForFaultyPathsFileChanged(); checkForFaultyPathsFileChanged();
final File[] paths = listFiles(); final File[] paths = listFiles();
...@@ -140,11 +140,11 @@ public final class DirectoryScanningTimerTask extends TimerTask implements ISelf ...@@ -140,11 +140,11 @@ public final class DirectoryScanningTimerTask extends TimerTask implements ISelf
} }
if (operationLog.isTraceEnabled()) if (operationLog.isTraceEnabled())
{ {
operationLog.trace("Finished scanning directory."); operationLog.trace("Finished scanning directory " + sourceDirectory + ".");
} }
} catch (Exception ex) } catch (Exception ex)
{ {
notificationLog.error("An exception has occurred.", ex); notificationLog.error("An exception has occurred. (thread still running)", ex);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment