Do not logging to sqlite when log_enabled is false

I specified false to log_enabled, but sqlite db was created and logging to the db.

I prefer to not logging to sqlite when log_enabled is false. (also create db too)

How about do you think?