Current logging method is hacky and uses a flat file. Switching to sqlite for many reasons, mostly to support planned features.