Logs to remote syslog server #2552
-
First of all, thanks for this wonderful piece of (also well written) software! It does all I need, and it does it well, so not much to ask more, except maybe... any plan to add the function to send logs to remote syslog server? ASF has pretty good an detailed log, I like to check it regularly, I would like the option to do it from within my usual syslogs collector. Thanks again to all the developers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
ASF allows you to configure its logging system: https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Logging There is an NLog target for logging to syslog, including remote machines: https://github.com/luigiberrettini/NLog.Targets.Syslog It should be enough to copy We don't plan to support syslog in ASF out of the box at the moment, mainly because it's very user-specific that he wants to use that mechanism, and that it's already possible at least in two different ways, as described above. |
Beta Was this translation helpful? Give feedback.
ASF allows you to configure its logging system: https://github.com/JustArchiNET/ArchiSteamFarm/wiki/Logging
There is an NLog target for logging to syslog, including remote machines: https://github.com/luigiberrettini/NLog.Targets.Syslog
It should be enough to copy
NLog.Targets.Syslog.dll
from the nuget package into ASF directory, then configureNLog.config
appropriately as described on ASF wiki and syslog target example. If that by any chance doesn't work, you could always write ASF plugin with that functionality, which is also described on the wiki: https://github.com/JustArchiNET/ArchiSteamFarm/wiki/PluginsWe don't plan to support syslog in ASF out of the box at the moment, mainly beca…