mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Allow configuring the search log level in the Python generator.
This commit is contained in:
@@ -220,6 +220,8 @@ if __name__ == '__main__':
|
||||
parser.add_argument('-sc', '--shardCount', type=int, help='Total number of shards to create (default 2)')
|
||||
parser.add_argument('-sr', '--shardRange', type=int, help='Total number of nodes per shard with DB_ID_RANGE sharding (default 800)')
|
||||
parser.add_argument('-ct', '--disableCascadeTracking', action='store_true', help='Cascade Tracking Disabled')
|
||||
parser.add_argument('-sl', '--searchLogLevel', default='WARN', help='The log level for search (default WARN)',
|
||||
choices=['TRACE', 'DEBUG', 'INFO', 'WARN', 'ERROR'])
|
||||
parser.add_argument('-o', '--output', default='.', help='The path of the directory to output to')
|
||||
parser.add_argument('-mtls', '--mtls', action='store_true', help='Use mTLS between SOLR and Alfresco Repository')
|
||||
args = parser.parse_args()
|
||||
@@ -251,6 +253,7 @@ if __name__ == '__main__':
|
||||
'SHARE_IMAGE': args.share,
|
||||
'POSTGRES_IMAGE': args.postgres,
|
||||
'SEARCH_IMAGE': args.search,
|
||||
'SEARCH_LOG_LEVEL': args.searchLogLevel,
|
||||
'SEARCH_ENABLE_SPELLCHECK': str(args.spellcheck).lower(),
|
||||
'DISABLE_CASCADE_TRACKING': str(args.disableCascadeTracking).lower()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user