fix of an issue with log creation