- LogStreamConfig (webserver.observe.log) Configuration
Configuration options
Optional configuration options
| key | type | default value | description |
|---|---|---|---|
content-type | HttpMediaType | @io.helidon.http.HttpMediaTypes@.PLAINTEXT_UTF_8 | |
enabled | boolean | true | Whether stream is enabled. @return whether to allow streaming of log statements |
idle-message-timeout | Duration | PT5S | How long to wait before we send the idle message, to make sure we keep the stream alive. @return if no messages appear within this duration, and idle message will be sent @see #idleString() |
idle-string | string | `% ` | String sent when there are no log messages within the #idleMessageTimeout(). @return string to write over the network when no log messages are received |
queue-size | int | 100 | Length of the in-memory queue that buffers log messages from loggers before sending them over the network. If the messages are produced faster than we can send them to client, excess messages are DISCARDED, and will not be sent. @return size of the in-memory queue for log messages |