logging should be implemented in App_Model