Add logger to trace incoming messages