Make logging work the default way of SWIPL_LOGFILE is not set