Log a php error when cannot open remote_log