Updated to v2.1

Fixed error checking in log creation