Added the visitor pattern after the entry is created/updated
Log error by default