rejetto forum

HFS posting to SysLog Server

MarkL · 5 · 7160

0 Members and 1 Guest are viewing this topic.

Offline MarkL

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
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. 


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
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, 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.


Offline MarkL

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
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.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
rotation is already possible, just use the "variables" inside the file name, and you get it.
they are listed in the input dialog.


Offline MarkL

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
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.