use error_log as STDERR is not available in all SAPIs