Skip to content

Add environment variable for setting logging level #10070

@skye

Description

@skye

This is how to turn on INFO-level logging for jax right now:

from absl import logging
logging.set_verbosity(logging.INFO)

It'd be better to have an env var like JAX_LOG_LEVEL=INFO so turning on logging doesn't require code changes. This would also help transition to regular Python logging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3 (no schedule)We have no plan to work on this and, if it is unassigned, we would be happy to review a PRenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions