Use logs_database from config if it's available