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

[Bug][Docker] The log paths of Agent, Audit, Dataproxy and TubeMQ Manager containers are incorrect #3898

Closed
2 tasks done
shink opened this issue Apr 24, 2022 · 4 comments · Fixed by #3932
Closed
2 tasks done

Comments

@shink
Copy link
Member

shink commented Apr 24, 2022

What happened

tail: cannot open '/opt/inlong-agent/logs/agent.log' for reading: No such file or directory
tail: cannot open '/opt/inlong-audit/logs/audit.log' for reading: No such file or directory
tail: cannot open '/opt/inlong-dataproxy/logs/flume.log' for reading: No such file or directory

What you expected to happen

The logs can be printed correctly.

How to reproduce

sudo docker-compose up -d

Environment

No response

InLong version

master

InLong Component

InLong Agent, InLong DataProxy, InLong Audit

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@shink shink added the type/bug Something is wrong label Apr 24, 2022
@shink shink changed the title [Bug][Docker] The log paths of Agent, Audit and Dataproxy is incorrect [Bug][Docker] The log paths of Agent, Audit and Dataproxy are incorrect Apr 24, 2022
@shink shink self-assigned this Apr 24, 2022
@dockerzhang
Copy link
Contributor

all change to `info.log'

shink added a commit to shink/inlong that referenced this issue Apr 24, 2022
@shink shink changed the title [Bug][Docker] The log paths of Agent, Audit and Dataproxy are incorrect [Bug][Docker] The log paths of Agent, Audit and Dataproxy containers are incorrect Apr 24, 2022
@healchow healchow added this to the 1.2.0 milestone Apr 24, 2022
@shink
Copy link
Member Author

shink commented Apr 24, 2022

@dockerzhang BTW, no log printed in the TubeMQ Manager container by this command:

sudo kubectl logs inlong-tubemq-manager-0 -n inlong

@dockerzhang
Copy link
Contributor

@shink the log path for tube manager is 'logs/info.log' too.

shink added a commit to shink/inlong that referenced this issue Apr 25, 2022
@shink shink changed the title [Bug][Docker] The log paths of Agent, Audit and Dataproxy containers are incorrect [Bug][Docker] The log paths of Agent, Audit, Dataproxy and TubeMQ Manager containers are incorrect Apr 25, 2022
@shink
Copy link
Member Author

shink commented Apr 25, 2022

@dockerzhang Done. Please check out #3932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment