Real-Time Action Logging & Metrics
As a user, I want to the logger to record detailed metrics in real-time for every file transferred, So that I can precisely audit what was copied, check file sizes, and monitor transfer speeds.
Given a file is successfully copied,
When the logger records the action,
Then the entry contains the timestamp, job name, source UNC path, target UNC path, file size, and transfer time in milliseconds.
Given a file transfer fails or is interrupted,
When the logger records the action,
Then the transfer time is recorded as a negative value to clearly indicate an error.
Given a new subfolder needs to be created in the target directory,
When the engine creates the folder,
Then the action is recorded in the daily log file.