Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Conversation

raf-fonseca
Copy link
Contributor

Set log level from environment variable in hive-agent_client-py.

import sys

def get_log_level():
HIVE_AGENT_LOG_LEVEL = os.getenv('HIVE_AGENT_LOG_LEVEL', 'INFO').upper()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add HIVE_AGENT_LOG_LEVEL in the .env.example file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am only seeing a .env.example file in hive-agent-py, but not in hive-agent-client-py

@ToJen
Copy link
Contributor

ToJen commented May 22, 2024

@raf-fonseca there are merge conflicts

@raf-fonseca raf-fonseca merged commit 8a54881 into hivenetwork-ai:main May 22, 2024
1 check passed
@raf-fonseca raf-fonseca deleted the refactor/HN-65-set-log-level-from-environment-variable branch May 22, 2024 18:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants