Baldinof / caddy-supervisor

Run and supervise background processes from Caddy
MIT License
79 stars 7 forks source link

Sending processes outputs to Caddy logs #3

Open musinit opened 3 years ago

musinit commented 3 years ago

I want to do smth helpfull, is this still actual?😊 So, am I right, that here we want to use caddy.Log() logger to log events from supervisors?

Baldinof commented 3 years ago

Hey! Thank you for your help :)

Yes, it would be great to be able to send output to caddy logs.

There are some questions:

Maybe some questions can be answered via Caddyfile, example:

...
your-process {
  redirect_stdout log {
    field your_process_stdout
  }
}