log pattern, bridge and context listener