Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Generalize console output and/or logging to enable alternate log formats/streams (e.g. JSON) #43

@sopel

Description

@sopel

Console output and logging have evolved in an ad hoc fashion and are severely inconsistent accordingly, see e.g. init.py#L69 and describe-stacks.py#L34.

Given the current use cases are automation related, there had also been considerations to facilitate JSON console output to allow command output chaining/usage via the Unix pipeline pattern and respective JSON command processors like e.g. jq.

A possible implementation would likely involve use of Multiple handlers and formatters and Logging to multiple destinations.

This should be revisited to ease library evolution and maintenance.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions