@@ -404,28 +404,40 @@ export default {
404
404
filePath : {
405
405
type : [ 'null' , 'string' ] ,
406
406
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.' ,
407
411
} ,
408
412
debug : {
409
413
type : 'object' ,
410
414
properties : {
411
415
enabled : {
412
416
type : 'boolean' ,
417
+ description : 'Enable debug logging. Equivalent to setting "debug=1" in the Core configuration file)' ,
413
418
} ,
414
419
ips : {
415
420
type : 'boolean' ,
421
+ description : 'Include IP addresses in debug output' ,
416
422
} ,
417
423
sourceLocations : {
418
424
type : 'boolean' ,
425
+ description : 'Prepend debug output with name of the originating source'
426
+ + ' location (source file, line number and function name)' ,
419
427
} ,
420
428
threadNames : {
421
429
type : 'boolean' ,
430
+ description : 'Prepend debug output with name of the originating thread (only'
431
+ + ' available on platforms supporting thread_local)' ,
422
432
} ,
423
433
timeMicros : {
424
434
type : 'boolean' ,
435
+ description : 'Add microsecond precision to debug timestamps' ,
425
436
} ,
426
437
includeOnly : {
427
438
type : 'array' ,
428
439
uniqueItems : true ,
440
+ description : 'Log all categories if empty. Otherwise, log only the specified categories.' ,
429
441
items : {
430
442
type : 'string' ,
431
443
enum : [ 'net' , 'tor' , 'mempool' , 'http' , 'bench' , 'zmq' , 'walletdb' , 'rpc' , 'estimatefee' ,
@@ -437,6 +449,7 @@ export default {
437
449
} ,
438
450
exclude : {
439
451
type : 'array' ,
452
+ description : 'Exclude debugging information for one or more categories.' ,
440
453
uniqueItems : true ,
441
454
items : {
442
455
type : 'string' ,
@@ -654,10 +667,12 @@ export default {
654
667
properties : {
655
668
level : {
656
669
type : 'string' ,
670
+ description : 'Log level for gateway container logs' ,
657
671
enum : [ 'trace' , 'debug' , 'info' , 'warn' , 'error' , 'critical' , 'off' ] ,
658
672
} ,
659
673
accessLogs : {
660
674
type : 'array' ,
675
+ description : 'Envoy access logs' ,
661
676
items : {
662
677
oneOf : [
663
678
{
@@ -667,7 +682,8 @@ export default {
667
682
type : 'string' ,
668
683
minLength : 1 ,
669
684
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)' ,
671
687
} ,
672
688
format : {
673
689
type : 'string' ,
@@ -693,7 +709,9 @@ export default {
693
709
additionalProperties : {
694
710
type : 'string' ,
695
711
} ,
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' ,
697
715
} ,
698
716
} ,
699
717
required : [ 'template' ] ,
@@ -703,7 +721,9 @@ export default {
703
721
properties : {
704
722
template : {
705
723
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' ,
707
727
} ,
708
728
} ,
709
729
required : [ 'template' ] ,
@@ -827,6 +847,7 @@ export default {
827
847
} ,
828
848
logs : {
829
849
type : 'object' ,
850
+ description : 'Define Drive logs' ,
830
851
propertyNames : {
831
852
type : 'string' ,
832
853
minLength : 1 ,
@@ -847,10 +868,13 @@ export default {
847
868
} ,
848
869
format : {
849
870
type : 'string' ,
871
+ description : 'Log format:'
872
+ + ' https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/format/index.html' ,
850
873
enum : [ 'full' , 'compact' , 'pretty' , 'json' ] ,
851
874
} ,
852
875
color : {
853
876
type : [ 'boolean' , 'null' ] ,
877
+ description : 'Whether or not to use colorful output; defaults to autodetect' ,
854
878
} ,
855
879
} ,
856
880
required : [ 'destination' , 'level' , 'format' , 'color' ] ,
@@ -1115,17 +1139,21 @@ export default {
1115
1139
level : {
1116
1140
type : 'string' ,
1117
1141
enum : [ 'trace' , 'debug' , 'info' , 'warn' , 'error' ] ,
1142
+ description : 'Log verbosity level' ,
1118
1143
} ,
1119
1144
format : {
1120
1145
type : 'string' ,
1121
1146
enum : [ 'plain' , 'json' ] ,
1147
+ description : 'Log format: text or json' ,
1122
1148
} ,
1123
1149
path : {
1124
1150
type : [ 'string' , 'null' ] ,
1125
1151
minLength : 1 ,
1152
+ description : 'Write to stdout only if null or to stdout and specified log'
1153
+ + ' file (absolute file path on host machine)' ,
1126
1154
} ,
1127
1155
} ,
1128
- required : [ 'level' , 'format' ] ,
1156
+ required : [ 'level' , 'format' , 'path' ] ,
1129
1157
additionalProperties : false ,
1130
1158
} ,
1131
1159
rpc : {
0 commit comments