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

General logging script #94

Merged
merged 14 commits into from
Oct 28, 2024
Merged

General logging script #94

merged 14 commits into from
Oct 28, 2024

Conversation

xiaolong0728
Copy link
Collaborator

A new utils_logger.py is created in common_utils. It is a global setting so after calling the function you only need to use logger = logging.getLogger(__name__). Every model calls this function in main.py.

Note that if there is logging in set_project_paths which is called before setup_logging, it won't follow this format.

@Polichinel Polichinel dismissed smellycloud’s stale review October 28, 2024 02:14

Agree - But I'm opening another branch for this - dimissing review so I can merge

@Polichinel Polichinel merged commit e899c5c into main Oct 28, 2024
1 check passed
@xiaolong0728 xiaolong0728 deleted the general_logging branch October 29, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants