atomic writes, datadir in config and checks for rolling logs