In single-container processes, which limit the number of compute processes per container, the capture and transmission of logs can become infeasible because a separate, disk-based, log-capture and emission process is disallowed. This disclosure describes a log multiplexer that uses memory-multiplexing techniques to transport logs to multiple destinations within a single-container process. The log multiplexer interfaces with an in-memory, single process, shim layer that encompasses a generic, single-container application, becoming a single-point pipe pass-through for all emitted logs. Based on a static or a dynamic configuration provided to the application, the single-point pass-through multiplexer determines the endpoints where the logs are to be redirected. Acting as a pass-through multiplexer for logs within single-process memory, the logger enables fast and dynamic log emission to multiple endpoints.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.