C # File monitoring (Monitoring and output of additional content), suitable for monitoring log files (logs) in a directory, was originally developed on Linux to be deployed on the Jexus deployment site to the real-time output of Jexus log and its own site log files (has been tested by the run under Mono, So it's a tool that supports win and Linux).
This way I ssh link after mono AppendContentToCosole.exe can view log in real time, no longer use cat log.log.
Print output monitoring directory and related parameters after running
The application sibling has a parem.txt configuration file that configures the monitored directory and the file types required for monitoring, and then outputs the appended content (that is, the log information) in real time after running.
Rename Test succeeded
New file Test succeeded
Append content Display Success
Run under Ubuntu14.04
Attach source code
Download
C # File Monitoring tool (monitoring and output of append content)