Adds proper logging for modification dates