only use logger after logger configuration (fix #873)
fix code style
Merge pull request #875 from jubatus/fix-873

Use logger macros only after configuring logger