Better logging and persistent db strings