fixed logging recompile for java6