Hey everyone I am trying to get all the logs for ...
# getting-started
c
Hey everyone I am trying to get all the logs for datahub.. following this documentation : https://github.com/grofers/datahub/blob/master/docs/docker/development.md I tried enabling debugging, but I am getting this in the docker desktop dashboard logs :
Copy code
DefaultTaskDescriptor
log4j:WARN No appenders could be found for logger (com.linkedin.restli.docgen.VelocityTemplatingEngine).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See <http://logging.apache.org/log4j/1.2/faq.html#noconfig> for more info.
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - expected >JDWP-Handshake<
Am I missing anything? I want to get all the logs and not just the error logs..
e
@microscopic-receptionist-23548 has more experiences in this and might be able to help you.
m
which container?
c
this one is for
datahub-gms
All though I would like to have logs for all the services
@microscopic-receptionist-23548 anything on this?
m
you should be able to see all the logs via docker desktop
if you open that, find the running container, and just double click it, you should see the logs
By default log4j has some "level" of messages; I think warning or error. I'm not sure off the top of my head how to configure those, especially without recompiling (even then, these jars are started by docker; so you'd have to probably rebuild the images unless it is accessible via environment variable)
I'm not sure what your issue here is; wanting to see some other container or wanting to see lower level messages like info / debug. If the latter I'm not a log4j expert; google would know more in this case 🙂