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

Nacos logs do not print to nacos logs file but print into users' application logs #1931

Closed
Maijh97 opened this issue Jan 19, 2021 · 0 comments · Fixed by #1932
Closed

Nacos logs do not print to nacos logs file but print into users' application logs #1931

Maijh97 opened this issue Jan 19, 2021 · 0 comments · Fixed by #1932
Labels
area/nacos spring cloud alibaba nacos

Comments

@Maijh97
Copy link
Contributor

Maijh97 commented Jan 19, 2021

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.

Which Component
eg. Nacos Discovery,Nacos Config

Describe the bug
for alibaba/nacos#4567

To Reproduce
Steps to reproduce the behavior:

  1. Run with example nacos-config-example or nacos-discovery-spring-cloud-config-client-example
  2. see ${user.home}/logs/nacos/naming.log or ${user.home}/logs/nacos/config.log, no logs or only little logs
  3. See console, there are com.alibaba.nacos.client.config.XXX log info or com.alibaba.nacos.client.naming.XXX log info

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
e.g. MacOS 、Java8 、 2.2.4.RELEASE

Maijh97 added a commit to Maijh97/spring-cloud-alibaba that referenced this issue Jan 19, 2021
@HaojunRen HaojunRen added the area/nacos spring cloud alibaba nacos label Jan 31, 2021
theonefx added a commit that referenced this issue Mar 4, 2021
[ISSUE-#1931] Add a reset Nacos Log Config listener.
theonefx pushed a commit to theonefx/spring-cloud-alibaba that referenced this issue Aug 2, 2021
theonefx added a commit to theonefx/spring-cloud-alibaba that referenced this issue Aug 2, 2021
[ISSUE-alibaba#1931] Add a reset Nacos Log Config listener.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/nacos spring cloud alibaba nacos
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants