Allow to log errors to error_log

this can be useful to debug