Skip to content

Basic · Advanced Tab

Tab: Advanced · name=advance
Deep link: /_Admin/system/settings?SiteId={siteGuid}&name=advance

Low-level switches for development and operations: default relational database, k.DB.sql target, SQL log and code log, constraint fix on save, Hook master switches, resumable downloads, and site custom key-value settings.

Advanced tab

Default Database

Default database (defaultDatabase) decides where k.DB.sql resolves:

ValueDescription
AutoPriority MySQL > SQL Server > SQLite (connections must be set under Integrations)
Sqlite / Mysql / SqlServerFixed target

See k.DB and Database table docs.

SQL Log

SQL log (enableSqlLog): equivalent to the switch on Database -> SQL Logs; controls logging for k.DB.sqlite / mysql / sqlServer.

Code Log

Group Code log (codeLogSettings):

FieldDescription
EnableRecord KScript code logs
LevelDebug / Information / Warning / Error / Critical
Retention dayskeepDays (≥1)

List queries: Development -> Code log.

Constraints and Other Switches

SwitchDescription
Constraint fix on saveenableConstraintFixOnSave: auto-fix some constraint conflicts when saving content and other resources
Request HooksenableFrontEvents: enable Request Hooks (rules still configured on the Hook page)
Action HooksenableBackendEvents: enable Action Hooks
Resumable downloadcontinueDownload: large file resume (shown in some environments)

Custom Settings

Custom settings (customSettings): key-value editor for site or module extension config (KeyValueEditor). Keys must follow product conventions; scripts read via site API or agreed names—do not confuse with Key-value storage (k.DB.keyValue).