Print command output to logs
I really like that ofelia prints stdout/stderr from the scheduled command directly into docker container logs. Current change make it work. I am not sure if you want to make it opt-in/-out, in case people don't like it. But tbh I don't think that somebody would like not to have that.
What do you think?
@reddec
@reddec Would you be able to merge and release new version? Thank you very much!
@lorado @3timeslazy extremely sorry for delay!
Will you mind do it as opt-in feature?
hey @reddec Sorry, had stuff going around on my end too. I added an optional lable "logging" which has to be set to true, to enable logs. I am not sure tho if its fine like this. I kept the rest of changes as is, only made optional copying to output buffer. Hope this works
@reddec how about current implementation? I hope it is what you wanted =)
@lorado fantastic! Is possible that you forgot to run gofmt -w <file> to format?
@lorado fantastic! Is possible that you forgot to run
gofmt -w <file>to format?
Welp, I didn't know I have to :D Should be good now