@@ -16,14 +16,18 @@ logging:
1616 A boolean which indicates whether the logging will be
1717 in JSON format or not. If not specified logging will not be
1818 in JSON format.
19- Example: json_logging: true
19+ Example: logging:
20+ json_logging: true
2021 type : boolean
2122 default : false
2223
2324 components :
2425 description : >
2526 Specifies an array of auditing components to be enabled.
26- Example: components: ["audit.authn", "audit.azn"]
27+ Example: logging:
28+ components:
29+ - audit.authn
30+ - audit.azn
2731 type : array
2832 items :
2933 type : string
@@ -77,7 +81,7 @@ logging:
7781 Example: logging:
7882 request_log:
7983 file:
80- file_name: /var/iag/logs/ request.log
84+ file_name: request.log
8185 format: "%t %a %R"
8286 type : object
8387 properties :
@@ -90,7 +94,11 @@ logging:
9094 properties :
9195 file_name :
9296 description : >
93- The full path name of the generated log file.
97+ The name of the generated log file. If the file name
98+ is supplied without any path information the file will be
99+ written to the '/var/iag/logs' directory. If the file name
100+ contains path information the hosting directory must be created
101+ and available before the container is started.
94102 type : string
95103 max_file_size :
96104 description : >
@@ -130,18 +138,22 @@ logging:
130138 the environment.
131139 Example: logging:
132140 tracing:
133- - file_name: /var/iag/logs/ http_trans.log
141+ - file_name: http_trans.log
134142 component: pdweb.http.transformation
135143 level: 9
136- - file_name: /var/iag/logs/ http.log
144+ - file_name: http.log
137145 component: pdweb.http
138146 level: 5
139147 items :
140148 type : object
141149 properties :
142150 file_name :
143151 description : >
144- The full path name of the generated log file.
152+ The name of the generated log file. If the file name
153+ is supplied without any path information the file will be
154+ written to the '/var/iag/logs' directory. If the file name
155+ contains path information the hosting directory must be created
156+ and available before the container is started.
145157 type : string
146158 component :
147159 description : >
@@ -164,15 +176,19 @@ logging:
164176 environment.
165177 Example: logging:
166178 transaction:
167- file_name: /var/iag/logs/ trans.log
179+ file_name: trans.log
168180 max_file_size: 1024
169181 max_files: 5
170182 compress: true
171183 type : object
172184 properties :
173185 file_name :
174186 description : >
175- The full path name of the generated log file.
187+ The name of the generated log file. If the file name is supplied
188+ without any path information the file will be written to the
189+ '/var/iag/logs' directory. If the file name contains path
190+ information the hosting directory must be created and available
191+ before the container is started.
176192 type : string
177193 max_file_size :
178194 description : >
@@ -200,50 +216,50 @@ logging:
200216
201217 statistics :
202218 description : >
203- Specifies an array of statistic gathering components to be enabled.
204- Statistics can be used to assist with problem determination in
205- the environment.
219+ Configures the statistic collection and publishing capability for the
220+ gateway. The statistics for the configured components will be
221+ published to the specified statsd server over UDP. Statistics can be
222+ used to monitor the environment, or assist with problem determination
223+ in the environment.
206224 Example: logging:
207225 statistics:
208- - file_name: /var/iag/logs/authn_stats.log
209- component: pdweb.authn
210- count: 20
211- interval: 20
212- - file_name: /var/iag/logs/http_stats.log
213- component: pdweb.http
214- count: 20
215- interval: 20
216- type : array
217- items :
218- type : object
219- properties :
220- file_name :
221- description : >
222- The full path name of the generated log file.
223- type : string
224- component :
225- description : >
226- The name of the statistical component to be enabled. Refer to
227- the troubleshooting documentation for the full list of component names.
226+ server: 127.0.0.1
227+ port: 8125
228+ frequency: 20
229+ components:
230+ - iag.authn
231+ type : object
232+ properties :
233+ server :
234+ description : >
235+ The server on which the statsd server is listening for requests.
236+ type : string
237+ port :
238+ description : >
239+ The port on which the statsd server is listening for requests.
240+ type : number
241+ default : 8125
242+ frequency :
243+ description : >
244+ The frequency (in seconds) that statistics are sent from the
245+ memory buffer to the statsd server.
246+ type : number
247+ minimum : 1
248+ maximum : unlimited
249+ components :
250+ type : array
251+ description : >
252+ Specifies an array of statistic components to be enabled. Refer to
253+ the troubleshooting documentation for a full description of the
254+ available component names.
255+ items :
228256 type : string
229- count :
230- description : >
231- The number of reports sent to the log file. After the count value is reached,
232- reporting to a log file stops. However, the statistic component is still enabled.
233- If the interval value is not set or is set to 0 the count will have no effect.
234- If the interval value is set and count is not set, statistics information will
235- be sent to the log file at the interval indefinitely.
236- type : number
237- minimum : 1
238- maximum : unlimited
239- interval :
240- description : >
241- The time interval (in seconds) when statistics are sent from the
242- memory buffer to the log file. If the interval is not set or is set to 0,
243- no statistics are sent to the log file. However, the statistic component is still enabled.
244- If interval is set and count value is not set, statistics information will
245- be sent to the log file at the interval indefinitely.
246- type : number
247- minimum : 0
248- maximum : unlimited
257+ enum :
258+ - iag.authn
259+ - iag.http2
260+ - iag.https
261+ - iag.resource_server
262+ - iag.sescache
263+ - iag.threads
264+ - iag.websocket
249265
0 commit comments