Workaround odd 'logging is not defined' issue