Log file

File Watcher Utilities application creates log file (fwatcher.log) in the application root folder. The application stores information about the file changes and the processes into the log file. The application also stores some application related infomation to the log file. See XML configuration files or File Watcher Simple to specify what gets logged.

Log message categories

Message type Description
Info Log entry contains information.
Error Log entry contains an error.
Warn Log entry contains a warning.

Log messages by categories

Information

Message Description
[{datetime}] [Info] Daemon '{daemon name}' is started. Daemon is started.
[{datetime}] [Info] Daemon '{daemon name}' is starting. Daemon is starting.
[{datetime}] [Info] Daemon '{daemon name}' is stopped. Daemon has stopped.
[{datetime}] [Info] File or folder {change type} '{full path}'. File or folder has changed.
[{datetime}] [Info] Process {file name} started by '{daemon name}' daemon has exited with exit code {exit code}. Process stared by the daemon has exited with exit code.
[{datetime}] [Info] Daemon '{daemon name}' process output data: '{output data}'. Process started by the daemon sent output data.
[{datetime}] [Info] Daemon '{daemon name}' started '{file name}' {process id} process with '{arguments}' arguments and with '{verb}' verb. Processes to run: {processes to run}. Daemon started a process with specified arguments and verb. Verb is usually empty as it defaults to 'open'.
[{datetime}] [Info] Daemon '{daemon name}' is searching folder {full path}. Daemon is seaching a folder to raise system generated file change events.
[{datetime}] [Info] [{service guid}] Daemon '{daemon name}' is about to call a service. Daemon has queued a service call to a thread that is used to call a service at later time. Service guid is used to identify the service call.
[{datetime}] [Info] [{service guid}] Daemon '{daemon name}' called a service and it returned: '{message}' Service call made by the daemon was successfull and the service returned the following message string. Service guid is used to identify the service call.
[{datetime}] [Info] All processes have exited. All processes run by the File Watcher Utilities application have exited.
[{datetime}] [Info] Application started. The File Watcher Utilities application was started without any errors.
[{datetime}] [Info] Application stopped. The File Watcher Utilities application cleanly shutdown without any errors.
[{datetime}] [Info] Daemon '{daemon name}' was recycled. Reason: {reason} The file watcher recycled.

Errors

Message Description
[{datetime}] [Error] Buffer error in '{daemon name}' daemon. Reason: {reason} Too many file system changes occured so the buffer of the daemon overflowed. See reason for more details.
[{datetime}] [Error] Daemon '{daemon name}' is stopped. Path '{full path}' is invalid. Daemon could not be started because the path is invalid and file watcher cannot monitor it.
[{datetime}] [Error] Search error in '{daemon name}' daemon. Reason: {reason} Daemon encountered an error when seaching files to raise system generated file system change events. See reason for more details.
[{datetime}] [Error] [{service guid}] Daemon '{daemon name}' failed to create a service proxy. Daemon failed to create Windows Communication Foundation service proxy. Check that Windows Communication Foundation configuration is correct and the daemon name is equal to the end point name of the service to be called. Service guid is used to identify the service call.
[{datetime}] [Error] [{service guid}] Error in service called by '{daemon name}' daemon. Severity: {severity} ErrorCode: {error code} Reason: {reason} ErrorId: {error id} Service called by the daemon returned a fault contract message with the following values. Service guid is used to identify the service call.
[{datetime}] [Error] [{service guid}] Error in service called by '{daemon name}' daemon. Reason: {reason} Service call made by the daemon failed for the following reason. Service guid is used to identify the service call.
[{datetime}] [Error] Daemon '{daemon name}' process error data: '{error data}'. Process started by the daemon sent error data.
[{datetime}] [Error] Error in process started by '{daemon name}' daemon. Reason: {reason} Process started by the daemon failed with the following reason.

Warnings

Message Description
[{datetime}] [Warn] Process was canceled for '{daemon name}' daemon. Reason: {reason} Path: '{full path}' Process was not executed because the file was missing or the file reaming failed or the file lock test failed.

Copyright © 2006-2013 Jussi Hiltunen