fixed logging intialization