Skip to content

Commit fbc0e9e

Browse files
dianpopaalxiord
authored andcommitted
logger: change swagger specification...
...as part of the decision to use two named pipes as logging destinations: one for human readable logs and one for metrics. Signed-off-by: Diana Popa <[email protected]>
1 parent 95b3aa7 commit fbc0e9e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

api_server/swagger/firecracker.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ paths:
150150

151151
/logger:
152152
put:
153-
summary: Initializes the logging system by specifying a log path on the host.
153+
summary: Initializes the logger by specifying two named pipes (i.e. for the logs and metrics output).
154154
operationId: putLogger
155155
parameters:
156156
- name: body
@@ -364,11 +364,14 @@ definitions:
364364
Logger:
365365
type: object
366366
description:
367-
Describes the configuration option for the logger intitialization.
367+
Describes the configuration option for the logging capability.
368368
properties:
369-
path:
369+
log_fifo:
370370
type: string
371-
description: The path on the host for the log file.
371+
description: The named pipe for the human readable log output.
372+
metrics_fifo:
373+
type: string
374+
description: The named pipe where the JSON-formatted metrics will be flushed.
372375
level:
373376
type: string
374377
description: Set the level.

0 commit comments

Comments
 (0)