Set log to error