Modified logger to trigger update from the database instead of a timeout.