extract logging