Skip to content

Consider saving Jubilant's logs to disc if they have information not present in juju debug-log #76

Description

@james-garner-canonical

If there's anything useful in Jubilant's logs that we don't get from juju debug-log (e.g. granular wait state changes?), we could consider dumping those to the disk in the directory specified by --juju-dump-logs (in a separate file -- maybe a single file for the session, rather than the per-model files used for juju debug-log).

One approach to capturing these logs for dumping to disk would be to add a handler to Jubilant's root logger at the start of the session if --juju-dump-logs is specified, and dump to disk at the end of the session.

It would be nice if --juju-dump-logs was the source of truth for where the logs you want to capture with actions/upload-artifact end up, to keep our recommended CI setup simple.


cc @tromai -- I've added the rainy day label preemptively, but if this ends up being in scope for your roadmap work we can close this then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    rainy daySmall items done in ~10% of each week's time

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions