fix logging context in psparser