broken log in java 6 style