rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: MarkL on September 11, 2015, 07:32:50 PM
-
I have found logging; Log to Display and Log to File. I can't find where to change the path of the log file or if I can log to a Syslog Server.
-
welcome Mark!
when you click on "log to file..." you can enter just a file name, or a full path.
There's no special support for syslog, or for logging over the net.
You could achieve that with an external tool, like this (https://major.io/2009/04/21/piping-log-files-to-a-syslog-server/), but i would expect problems because HFS doesn't keep the file open, but for every line the file is opened and closed. Anyway, i guess it would be a few lines of python.
-
Thanks, I'll try a UNC path in the "log to file" option and test this on intranet storage. I like being able to manage all my logs from one file storage location. It also keeps system drive clean. It would be nice if the "log to file" option also has "auto file rotation" to keep the size of the log file down to a manageable file size. These features are already built into my "SysLogD" utility.
-
rotation is already possible, just use the "variables" inside the file name, and you get it.
they are listed in the input dialog.
-
Sweet; found it - i have it logging across intranet to a separate internal network storage with my other syslog files using UNC patch and configured to rotate daily. I'll watch this when it gets busy and see if I have any issues. Looking good ! Thanks for the pointers.