MDL-39846 use new special value -1 in $CFG->loglifetime to prevent legacy logging