updated config now with log rotation