make it possible to only log error_logs