Skip to content

log_level in testing config #42

Description

@dwilding

I'm reading https://canonical.com/juju/docs/ops/latest/howto/write-integration-tests-for-a-charm/#log-to-a-file, which has an example of pyproject.toml:

# Retain INFO logs in the "Captured log call" section when run interactively.
# Otherwise, that section will have DEBUG logs (coming from log_file_level).
log_level = "INFO"

Based on my experience of Jubilant, I don't think log_level = "INFO" has any effect on the Jubilant output during an integration test. But maybe there's a behaviour difference with the latest version of Jubilant?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions