Add logger snippet
Merge fix