Skip to content
Snippets Groups Projects
Commit 3b3b3aab authored by brinn's avatar brinn
Browse files

Enable dropbox activity logging (add the directory .activity where a file is...

Enable dropbox activity logging (add the directory .activity where a file is touched each time a dropbox thread starts processing).

SVN: 25923
parent 96e7977f
No related branches found
No related tags found
No related merge requests found
...@@ -98,6 +98,8 @@ public final class ETLDaemon ...@@ -98,6 +98,8 @@ public final class ETLDaemon
public static final File updaterQueueFile = new File(".updater"); public static final File updaterQueueFile = new File(".updater");
public static final File dropboxActivityDir = new File(".activity");
public static final int INJECTED_POST_REGISTRATION_TASK_INTERVAL = 1; public static final int INJECTED_POST_REGISTRATION_TASK_INTERVAL = 1;
static final String NOTIFY_SUCCESSFUL_REGISTRATION = "notify-successful-registration"; static final String NOTIFY_SUCCESSFUL_REGISTRATION = "notify-successful-registration";
...@@ -335,7 +337,8 @@ public final class ETLDaemon ...@@ -335,7 +337,8 @@ public final class ETLDaemon
parameters); parameters);
final DirectoryScanningTimerTask dataMonitorTask = final DirectoryScanningTimerTask dataMonitorTask =
new DirectoryScanningTimerTask(incomingDataDirectory, fileFilter, pathHandler, new DirectoryScanningTimerTask(incomingDataDirectory, fileFilter, pathHandler,
directoryScanningHandler); directoryScanningHandler, threadParameters.getThreadName(),
dropboxActivityDir);
selfTest(incomingDataDirectory, authorizedLimsService, pathHandler); selfTest(incomingDataDirectory, authorizedLimsService, pathHandler);
final String timerThreadName = final String timerThreadName =
threadParameters.getThreadName() + " - Incoming Data Monitor"; threadParameters.getThreadName() + " - Incoming Data Monitor";
......
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