Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log script errors and failures to log file #44

Closed
naneko opened this issue Jan 11, 2024 · 1 comment
Closed

Log script errors and failures to log file #44

naneko opened this issue Jan 11, 2024 · 1 comment

Comments

@naneko
Copy link

naneko commented Jan 11, 2024

Right now script outputs and status is only logged with verbose mode on. I think this makes sense when scripts run without issue. However I think if a script writes to stderr or ends with a non-zero exit code it should be logged.

I'm not super well versed in Swift but if I have a moment I'll create a pull request to add this.

@bartreardon
Copy link
Contributor

it is. everything gets sent to /usr/local/outset/logs

I could expand the log file system so seperat event types get their own log file but for now it all dumped to outset.log in that directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants