Redirecting stderr and stdout to supervisor