Initializing logging part