Allow configuring the search log level.

This commit is contained in:
Tom Page
2020-07-15 11:08:42 +01:00
parent 01a60ff74a
commit 5a47f748d3
10 changed files with 2223 additions and 6 deletions

View File

@@ -102,6 +102,19 @@ module.exports = class extends Generator {
],
default: 'DB_ID'
},
{
type: 'list',
name: 'searchLogLevel',
message: 'What log level do you want to use for search?',
choices: [
"TRACE",
"DEBUG",
"INFO",
"WARN",
"ERROR"
],
default: 'WARN'
},
{
whenFunction: response => response.alfrescoVersion == 'enterprise',
type: 'confirm',
@@ -214,7 +227,8 @@ module.exports = class extends Generator {
zeppelin: (this.props.zeppelin ? "true" : "false"),
sharding: (this.props.sharding ? "true" : "false"),
shardingMethod: (this.props.shardingMethod),
gzip: (this.props.gzip ? "true" : "false")
gzip: (this.props.gzip ? "true" : "false"),
searchLogLevel: this.props.searchLogLevel
}
);