fix mistake where log_debug() is by default outputing to stderr