1

I am currently working with kafka based on confluent's cp-demo project. (https://github.com/confluentinc/cp-demo)

I am developing a custom connector which I was able to publish in the connect docker, however it is not working properly and I am having trouble accessing the confluent log to check how it is working.

I know about the existance of confluent log connect command which in my localhost enviroment allows me to access the log. How can I access this very same log in this docker environment?

Can anyone show me the path?

Thank you in advance!

2
  • 1
    Try running docker exec -it {containerId} confluent log connect Commented Nov 19, 2019 at 0:39
  • docker exec lets you run commands on running container. you can run above to get logs in interactive mode or you can ssh 'in into container by docker exec -it {containerId} /bin/bash Commented Nov 19, 2019 at 0:47

1 Answer 1

1

confluent cli command doesn't exist in the containers. You would just use docker logs <<container-id>>, or similar with docker-compose logs

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you @cricket_007! With your answer I was able to access the logs! Very nice!
And how do I tail this log?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.