initializing logging