Redirecting log to stdout