logging creation refined