setting for database logging