switched to using logger from using System.out