a logger from a Java project - more changes needed