logger must be java6 compatible