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

Class/module name overwritten? #214

Closed
ChanceNCounter opened this issue Jan 1, 2024 · 0 comments · May be fixed by #225
Closed

Class/module name overwritten? #214

ChanceNCounter opened this issue Jan 1, 2024 · 0 comments · May be fixed by #225
Labels
bug Something isn't working question Further information is requested

Comments

@ChanceNCounter
Copy link
Contributor

name = os.getenv("OVOS_DEFAULT_LOG_NAME") or 'OVOS'
level = os.getenv("OVOS_DEFAULT_LOG_LEVEL") or "INFO"
diagnostic_mode = False
_loggers = {}
@classmethod
def __init__(cls, name='OVOS'):

That looked hinky to me while investigating an unrelated dev question. Is this overwriting the name before initializing the logger?

@ChanceNCounter ChanceNCounter added bug Something isn't working question Further information is requested labels Jan 1, 2024
@JarbasAl JarbasAl removed their assignment Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants