Closed clr2of8 closed 1 year ago
Those are good questions. The first item had crossed my mind and yes I think this would be good. I'll update it. I have some other additions planned that are going to need a config file so I think we don't need to add command line switch in this case. For the documentation of the config file, I'll add that to the wiki section here once the PR is approved.
I added the config to a custom PowerShell object with a name of artConfig
where each setting can be references using dot notation like $artConfig.syslogPort
Moving to draft because I want to update to use proper syslog format first
Closing for now, will submit a fresh PR when ready.
You can optionally add a syslog server and port to Public\config.ps1 and the default logger will send the atomic execution log to your syslog server as well as write it to disk. If you don't configure a syslog server, everything works the way it did before with just logging to a file.