Log4JSToOTELAppenderConfiginterface
This interface describes the log4js appender configuration that controls the
Properties (4)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| layout⚓︎ | Layout | x | x | log4js layout to use for structuring the log entries. If not specified, uses MessagePassThroughLayout. |
| logErrorsInConsole⚓︎ | boolean | true | x | Whether errors in the |
| maxRecordsBeforeOTELActive⚓︎ | number | 10000 | x | Maximum number of log records to store in memory before the OTEL SDK has finished initializing. Use -1 for an infinite number. |
| maxTimeBeforeOTELActiveMs⚓︎ | number | -1 | x | Maximum duration of time to store log entries in memory before the OTEL SDK has finished initializing. Use -1 for an infinite duration. |