Files
Umbraco-CMS/templates/UmbracoProject/appsettings.Development.json
Mitchel ac6b205e7f Unattended install: Added the ability to set the telemetry level (#20249)
* Added the ability to set the telemetry level for an unattended install

Added 'UnattendedTelemetryLevel' to 'UnattendedSettings'

Renamed 'CreateUnattendedUserNotificationHandler' to 'PostUnattendedInstallNotificationHandler'

Set the telemetry level in the unattended install notification handler

* Add DefaultValue attribute to 'UnattendedTelemetryLevel'

* Added UnattendedTelemetryLevel to template.

* Updated cli and ide hosts.

---------

Co-authored-by: Andy Butland <abutland73@gmail.com>
2025-09-29 17:07:30 +02:00

65 lines
1.6 KiB
JSON

{
"$schema": "appsettings-schema.json",
"Serilog": {
"MinimumLevel": {
"Default": "Information"
},
"WriteTo": [
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console"
}
]
}
}
]
},
//#if (HasDevelopmentConnectionString)
"ConnectionStrings": {
"umbracoDbDSN": "CONNECTION_STRING_DEVELOPMENT_FROM_TEMPLATE",
"umbracoDbDSN_ProviderName": "CONNECTION_STRING_PROVIDER_NAME_DEVELOPMENT_FROM_TEMPLATE"
},
//#endif
"Umbraco": {
"CMS": {
//#if (UseHttpsRedirect || DevelopmentMode == "IDEDevelopment")
"Global": {
"UseHttps": false
},
//#endif
//#if (UsingUnattenedInstall)
"Unattended": {
"InstallUnattended": true,
"UnattendedUserName": "UNATTENDED_USER_NAME_FROM_TEMPLATE",
"UnattendedUserEmail": "UNATTENDED_USER_EMAIL_FROM_TEMPLATE",
"UnattendedUserPassword": "UNATTENDED_USER_PASSWORD_FROM_TEMPLATE",
"UnattendedTelemetryLevel": "UNATTENDED_TELEMETRY_LEVEL_FROM_TEMPLATE"
},
//#endif
"Content": {
"MacroErrors": "Throw"
},
//#if (DevelopmentMode == "IDEDevelopment")
"Runtime": {
"Mode": "Development"
},
//#if (ModelsBuilderMode == "Default")
"ModelsBuilder": {
"ModelsMode": "SourceCodeAuto"
},
////#else
//"ModelsBuilder": {
// "ModelsMode": "MODELS_MODE"
//},
//#endif
//#endif
"Hosting": {
"Debug": true
}
}
}
}