Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize logger names #62

Open
ashsong-nv opened this issue Jan 22, 2025 · 0 comments
Open

Standardize logger names #62

ashsong-nv opened this issue Jan 22, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ashsong-nv
Copy link
Collaborator

We have a couple of different ways of creating loggers in the code base.

logger = logging.getLogger(f"morpheus.{__name__}")

vs.

logger = logging.getLogger(__name__)

The first one inherits from the Morpheus logger, whereas the second one inherits from the configured logger for vulnerability-analysis. It would be good to standardize these to a single method (probably the second option to use the custom configuration?)

@ashsong-nv ashsong-nv added the enhancement New feature or request label Jan 22, 2025
@ashsong-nv ashsong-nv changed the title Standardize loggers in code base Standardize logger names in code base Jan 22, 2025
@ashsong-nv ashsong-nv changed the title Standardize logger names in code base Standardize logger names Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant