Fix notice for: 'Undefined variable: logger'
Merge pull request #126 from Olden/bug/logger

Fix notice for: 'Undefined variable: logger'