Skip to content

Commit

Permalink
Fix host.json schema (Azure#3025)
Browse files Browse the repository at this point in the history
  • Loading branch information
pragnagopa authored Jun 19, 2018
1 parent 786b5f6 commit 318a8ab
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions schemas/json/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,21 +202,40 @@
"type": "object",

"properties": {
"defaultLevel": {
"description": "The default level for logging. If a category level is not specified, this value is used.",
"enum": [ "Critical", "Debug", "Error", "Information", "None", "Trace", "Warning" ],
"default": "Information"
"categoryFilter": {
"properties": {
"defaultLevel": {
"description": "The default level for logging. If a category level is not specified, this value is used.",
"enum": [ "Critical", "Debug", "Error", "Information", "None", "Trace", "Warning" ],
"default": "Information"
},
"categoryLevels": {
"description": "Log levels for specific categories.",
"type": "object",
"additionalProperties": {
"enum": [ "Critical", "Debug", "Error", "Information", "None", "Trace", "Warning" ]
}
}
}
},

"categoryLevels": {
"description": "Log levels for specific categories.",
"aggregator": {
"description": "Configuration settings for the function result aggregator.",
"type": "object",

"additionalProperties": {
"enum": [ "Critical", "Debug", "Error", "Information", "None", "Trace", "Warning" ]
"properties": {
"batchSize": {
"description": "The maximum batch size for aggregations. If this value is reached before the 'flushTimeout', all values will be flushed.",
"type": "integer",
"default": 1000
},

"flushTimeout": {
"description": "The aggregation duration. The aggregator will flush periodically based on this value.",
"pattern": "^\\d\\d:\\d\\d:\\d\\d$",
"default": "00:00:30"
}
}
},

"fileLoggingMode": {
"description": "Value determining what level of file logging is enabled.",
"enum": [ "never", "always", "debugOnly" ],
Expand All @@ -225,25 +244,6 @@
}
},

"aggregator": {
"description": "Configuration settings for the function result aggregator.",
"type": "object",

"properties": {
"batchSize": {
"description": "The maximum batch size for aggregations. If this value is reached before the 'flushTimeout', all values will be flushed.",
"type": "integer",
"default": 1000
},

"flushTimeout": {
"description": "The aggregation duration. The aggregator will flush periodically based on this value.",
"pattern": "^\\d\\d:\\d\\d:\\d\\d$",
"default": "00:00:30"
}
}
},

"languageWorker": {
"description": "Configuration settings for Language Workers.",
"type": "object",
Expand Down

0 comments on commit 318a8ab

Please sign in to comment.