creation of logging dir if not existing added