fixed issues with logging and commons io