You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a weird scenario where I don't want to run SuperviseAll(). Rather I want to dynamically supervise and unsupervise processes depending on requests by just calling ovr.Supervise(). When it comes to WatchState(), this works fine, however I have noticed that WatchLogs only works if I call SuperviseAll. One workaround was to read Cmd.Stdout and cmd.Stderr when adding the process to overseer. However that stops working when the process restarts.
Any ideas?
The text was updated successfully, but these errors were encountered:
Indeed it looks like a bug. Supervise alone should make the logs work, SuperviseAll doesn't do anything special about the logs.
I don't think I'll find time to work on this, especially because I'm currently not using this library anywhere.
If you have any ideas or fixes, feel free to leave them here, or make a PR.
I have a weird scenario where I don't want to run SuperviseAll(). Rather I want to dynamically supervise and unsupervise processes depending on requests by just calling ovr.Supervise(). When it comes to WatchState(), this works fine, however I have noticed that WatchLogs only works if I call SuperviseAll. One workaround was to read Cmd.Stdout and cmd.Stderr when adding the process to overseer. However that stops working when the process restarts.
Any ideas?
The text was updated successfully, but these errors were encountered: