cyphernode
cyphernode copied to clipboard
Proxy : redirect stderr to proxy.log
Instead of having to scan the Docker log for script errors, redirect stderr.
In requesthandler.sh, add main 2>>/cnlogs/proxy.log
In trace.sh, remove this line : echo "${str}" >> /cnlogs/proxy.log. Otherwise, you'll get 2 times every log line