Common lib: allow to turn off daily log rotation by setting "rotateLogsDaily" parameter to 0.