Add library to work with logs in java2tex.