Fixed STDERR printing in error_log