clearml-agent icon indicating copy to clipboard operation
clearml-agent copied to clipboard

inconsistent logging behavior between docker and non-docker mode

Open stephanbertl opened this issue 2 years ago • 0 comments

Running clearml-agent in docker mode does not produce debug logs.

agent.debug = true is set in clearml.conf

An agent started with the following produces DEBUG output:

clearml-agent --debug daemon --queue A40 --gpu 0 --detached

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.clearml.my.org:443
DEBUG:urllib3.connectionpool:https://api.clearml.my.org:443 "GET /auth.login HTTP/1.1" 200 559
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.clearml.my.org:443
DEBUG:urllib3.connectionpool:https://api.clearml.my.org:443 "GET /v2.5/tasks.get_by_id HTTP/1.1" 200 1713
DEBUG:urllib3.connectionpool:https://api.clearml.my.org:443 "GET /v2.5/tasks.dequeue HTTP/1.1" 400 328
DEBUG:clearml_agent.session:Run by interpreter: /usr/bin/python3

Starting the agent in docker mode does not produce any debug output:

clearml-agent --debug daemon --queue A40 --gpu 0 --docker --detached

stephanbertl avatar Jun 06 '23 14:06 stephanbertl