Fixed bug with log creation