Add logging JARs and necessary hooks