safer log configuration