moved Console.out/err calls to logging api