MDL-44910 enable new logging during upgrade and installation

The legacy logging is now enabled for reading only
if legacy log data older than one day exists.