main: replace prints with calls to logger
main: replace prints with calls to logger

Initialize the logger early in the process and
use log.X functions instead of print functions.

Signed-off-by: Ilija Hadzic <47a09d4a4430975766160361f65fc72633be50b6@gmail.com>

ihadzic/jim,ihadzic/jim,ihadzic/jim