facebookarchive/doh-proxy

[doh-httpproxy] logging to a file option?

brittanywang opened this issue · 2 comments

I wondering if there was an option where you can log the output of what you see when you run doh-httpproxy on the command line to a .log file?
logging

@brittanywang wouldn't redirecting stdout/stderr to a file work just fine?

@brittanywang
I think file redirection should go a long way for what you need. You could also use tee if you want it both to stderr and a file.
When using systemd, the stderr stream is automatically sent to the logs.

I will close this issue for now as there is existing mechanism in place to solve this problem. Feel free to open another one if you have any other issues.