@@ -404,28 +404,40 @@ export default {
404404 filePath : {
405405 type : [ 'null' , 'string' ] ,
406406 minLength : 1 ,
407+ description : 'Write logs only to stdout if null. Provide an absolute file path on'
408+ + ' the host machine to also write to a log file there. Use a log file if logs must be'
409+ + ' retained since stdout logs are stored inside the docker container'
410+ + ' and removed if the container is removed.' ,
407411 } ,
408412 debug : {
409413 type : 'object' ,
410414 properties : {
411415 enabled : {
412416 type : 'boolean' ,
417+ description : 'Enable debug logging. Equivalent to setting "debug=1" in the Core configuration file)' ,
413418 } ,
414419 ips : {
415420 type : 'boolean' ,
421+ description : 'Include IP addresses in debug output' ,
416422 } ,
417423 sourceLocations : {
418424 type : 'boolean' ,
425+ description : 'Prepend debug output with name of the originating source'
426+ + ' location (source file, line number and function name)' ,
419427 } ,
420428 threadNames : {
421429 type : 'boolean' ,
430+ description : 'Prepend debug output with name of the originating thread (only'
431+ + ' available on platforms supporting thread_local)' ,
422432 } ,
423433 timeMicros : {
424434 type : 'boolean' ,
435+ description : 'Add microsecond precision to debug timestamps' ,
425436 } ,
426437 includeOnly : {
427438 type : 'array' ,
428439 uniqueItems : true ,
440+ description : 'Log all categories if empty. Otherwise, log only the specified categories.' ,
429441 items : {
430442 type : 'string' ,
431443 enum : [ 'net' , 'tor' , 'mempool' , 'http' , 'bench' , 'zmq' , 'walletdb' , 'rpc' , 'estimatefee' ,
@@ -437,6 +449,7 @@ export default {
437449 } ,
438450 exclude : {
439451 type : 'array' ,
452+ description : 'Exclude debugging information for one or more categories.' ,
440453 uniqueItems : true ,
441454 items : {
442455 type : 'string' ,
@@ -654,10 +667,12 @@ export default {
654667 properties : {
655668 level : {
656669 type : 'string' ,
670+ description : 'Log level for gateway container logs' ,
657671 enum : [ 'trace' , 'debug' , 'info' , 'warn' , 'error' , 'critical' , 'off' ] ,
658672 } ,
659673 accessLogs : {
660674 type : 'array' ,
675+ description : 'Envoy access logs' ,
661676 items : {
662677 oneOf : [
663678 {
@@ -667,7 +682,8 @@ export default {
667682 type : 'string' ,
668683 minLength : 1 ,
669684 enum : [ 'stdout' , 'stderr' ] ,
670- description : 'Access log type: stdout, stderr or file' ,
685+ description : 'stdout, stderr or file (absolute file path on host'
686+ + ' machine)' ,
671687 } ,
672688 format : {
673689 type : 'string' ,
@@ -693,7 +709,9 @@ export default {
693709 additionalProperties : {
694710 type : 'string' ,
695711 } ,
696- description : 'JSON fields and values. If null, default template is used.' ,
712+ description : 'JSON fields and values. If null, default template is'
713+ + ' used. More info:'
714+ + ' https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#format-dictionaries' ,
697715 } ,
698716 } ,
699717 required : [ 'template' ] ,
@@ -703,7 +721,9 @@ export default {
703721 properties : {
704722 template : {
705723 type : [ 'null' , 'string' ] ,
706- description : 'Template string. If null, default template is used.' ,
724+ description : 'Template string. If null, default template is used.'
725+ + ' More info:'
726+ + ' https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage#format-strings' ,
707727 } ,
708728 } ,
709729 required : [ 'template' ] ,
@@ -827,6 +847,7 @@ export default {
827847 } ,
828848 logs : {
829849 type : 'object' ,
850+ description : 'Define Drive logs' ,
830851 propertyNames : {
831852 type : 'string' ,
832853 minLength : 1 ,
@@ -847,10 +868,13 @@ export default {
847868 } ,
848869 format : {
849870 type : 'string' ,
871+ description : 'Log format:'
872+ + ' https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/format/index.html' ,
850873 enum : [ 'full' , 'compact' , 'pretty' , 'json' ] ,
851874 } ,
852875 color : {
853876 type : [ 'boolean' , 'null' ] ,
877+ description : 'Whether or not to use colorful output; defaults to autodetect' ,
854878 } ,
855879 } ,
856880 required : [ 'destination' , 'level' , 'format' , 'color' ] ,
@@ -1115,17 +1139,21 @@ export default {
11151139 level : {
11161140 type : 'string' ,
11171141 enum : [ 'trace' , 'debug' , 'info' , 'warn' , 'error' ] ,
1142+ description : 'Log verbosity level' ,
11181143 } ,
11191144 format : {
11201145 type : 'string' ,
11211146 enum : [ 'plain' , 'json' ] ,
1147+ description : 'Log format: text or json' ,
11221148 } ,
11231149 path : {
11241150 type : [ 'string' , 'null' ] ,
11251151 minLength : 1 ,
1152+ description : 'Write to stdout only if null or to stdout and specified log'
1153+ + ' file (absolute file path on host machine)' ,
11261154 } ,
11271155 } ,
1128- required : [ 'level' , 'format' ] ,
1156+ required : [ 'level' , 'format' , 'path' ] ,
11291157 additionalProperties : false ,
11301158 } ,
11311159 rpc : {
0 commit comments