adding support for saving log messages to database for reporting on web service, in geonis_log.py