Added Logging to datamodel.