rename logging->logger to avoid naming conflict with python builtin module