mirror of https://gitee.com/bigwinds/arangodb
Doc - setIntroducedIn for log.file-group/mode (#8486)
This commit is contained in:
parent
6a22409ca7
commit
b442e68fed
|
@ -254,6 +254,40 @@
|
|||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-group" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "group to use for new log file, user must be a member of this group",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-mode" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "mode to use for new log file, umask will be applied as well",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.force-direct" : {
|
||||
"category" : "option",
|
||||
"default" : false,
|
||||
|
|
|
@ -1807,6 +1807,40 @@
|
|||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-group" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "group to use for new log file, user must be a member of this group",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-mode" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "mode to use for new log file, umask will be applied as well",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.force-direct" : {
|
||||
"category" : "option",
|
||||
"default" : false,
|
||||
|
|
|
@ -269,6 +269,40 @@
|
|||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-group" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "group to use for new log file, user must be a member of this group",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-mode" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "mode to use for new log file, umask will be applied as well",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.force-direct" : {
|
||||
"category" : "option",
|
||||
"default" : false,
|
||||
|
|
|
@ -185,6 +185,40 @@
|
|||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-group" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "group to use for new log file, user must be a member of this group",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-mode" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "mode to use for new log file, umask will be applied as well",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.force-direct" : {
|
||||
"category" : "option",
|
||||
"default" : false,
|
||||
|
|
|
@ -297,6 +297,40 @@
|
|||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-group" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "group to use for new log file, user must be a member of this group",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-mode" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "mode to use for new log file, umask will be applied as well",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.force-direct" : {
|
||||
"category" : "option",
|
||||
"default" : false,
|
||||
|
|
|
@ -488,6 +488,40 @@
|
|||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-group" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "group to use for new log file, user must be a member of this group",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-mode" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "mode to use for new log file, umask will be applied as well",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.force-direct" : {
|
||||
"category" : "option",
|
||||
"default" : false,
|
||||
|
|
|
@ -362,6 +362,40 @@
|
|||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-group" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "group to use for new log file, user must be a member of this group",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-mode" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "mode to use for new log file, umask will be applied as well",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.force-direct" : {
|
||||
"category" : "option",
|
||||
"default" : false,
|
||||
|
|
|
@ -489,6 +489,40 @@
|
|||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-group" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "group to use for new log file, user must be a member of this group",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.file-mode" : {
|
||||
"category" : "option",
|
||||
"default" : "",
|
||||
"deprecatedIn" : null,
|
||||
"description" : "mode to use for new log file, umask will be applied as well",
|
||||
"dynamic" : false,
|
||||
"enterpriseOnly" : false,
|
||||
"hidden" : false,
|
||||
"introducedIn" : [
|
||||
"v3.4.5",
|
||||
"v3.5.0"
|
||||
],
|
||||
"obsolete" : false,
|
||||
"requiresValue" : true,
|
||||
"section" : "log",
|
||||
"type" : "string"
|
||||
},
|
||||
"log.force-direct" : {
|
||||
"category" : "option",
|
||||
"default" : false,
|
||||
|
|
|
@ -93,12 +93,16 @@ void LoggerFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
|
|||
|
||||
options->addOption("--log.file-mode",
|
||||
"mode to use for new log file, umask will be applied as well",
|
||||
new StringParameter(&_fileMode));
|
||||
new StringParameter(&_fileMode))
|
||||
.setIntroducedIn(30405)
|
||||
.setIntroducedIn(30500);
|
||||
|
||||
#ifdef ARANGODB_HAVE_SETGID
|
||||
options->addOption("--log.file-group",
|
||||
"group to use for new log file, user must be a member of this group",
|
||||
new StringParameter(&_fileGroup));
|
||||
new StringParameter(&_fileGroup))
|
||||
.setIntroducedIn(30405)
|
||||
.setIntroducedIn(30500);
|
||||
#endif
|
||||
|
||||
options->addOption("--log.prefix", "prefix log message with this string",
|
||||
|
|
Loading…
Reference in New Issue