log: added a method to Init the log.
api/server: using log.Init.
collector/runner: using log.Init.