patch issue #478, replace  system.out with logger