Removed logging to db