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

When the framework class loader is initialized, the log will be printed to the host application. #1381

Closed
TangLeDaily opened this issue Dec 6, 2023 · 0 comments
Assignees
Labels
area/framework Issues or PRs releated to sermant core service kind/bug Something isn't working
Milestone

Comments

@TangLeDaily
Copy link
Collaborator

TangLeDaily commented Dec 6, 2023

What happened?

When the initialization framework class loader prints logs, it will be printed directly to the host application instead of the sermant log. At this time, the sermant log has not yet been initialized.

How can we reproduce it (as minimally and precisely as possible)?

Before initializing the framework class loader, initialize the defaultLogger first.

Anything else we need to know?

No response

Sermant version

1.2.1

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
@TangLeDaily TangLeDaily added the kind/bug Something isn't working label Dec 6, 2023
@luanwenfei-venus luanwenfei-venus added the area/framework Issues or PRs releated to sermant core service label Dec 8, 2023
@luanwenfei-venus luanwenfei-venus added this to the v1.3.0 milestone Dec 25, 2023
@kkf1 kkf1 changed the title 初始化框架类加载器时日志会打印至宿主应用上 When the framework class loader is initialized, the log will be printed to the host application. Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/framework Issues or PRs releated to sermant core service kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants