allow log to use always-open database.
worked on architecture.