atomicapp icon indicating copy to clipboard operation
atomicapp copied to clipboard

Docker id output should be in logging format

Open cdrage opened this issue 9 years ago • 6 comments

It's annoying to see this:

1457647049 - [DEBUG] - atomicapp/utils.py - Recursively removing directory: /tmp/nulecule-152a8ebc-e70b-11e5-acfd-3402868080db
1457647049 - [DEBUG] - nulecule/container.py - Removing Docker container: /usr/bin/docker rm -f 41fb827975d57e57c9e6fbb8e0afbf1c7235ce64a8ca5b6ae915bf5cd8e63836
41fb827975d57e57c9e6fbb8e0afbf1c7235ce64a8ca5b6ae915bf5cd8e63836

The container that is created should either be hidden (put in verbose output) or in-line with the logging formatter.

cdrage avatar Mar 10 '16 22:03 cdrage

This should be fixed by the second part of #594

cdrage avatar Mar 15 '16 17:03 cdrage

I'm +1 on this. Would be nice to have it only output on debug.. and even then maybe we can chop it off so it is just a short uuid (i.e use the first 12 characters)

dustymabe avatar Apr 04 '16 21:04 dustymabe

Hi @dustymabe can I help with this?

procrypt avatar Apr 07 '16 05:04 procrypt

@abhi1004 go for it!

dustymabe avatar Apr 10 '16 21:04 dustymabe

This is also spotted else where, which can be re-created as follows:

(atomic) ✔ ~/nulecule-library/apache-centos7-atomicapp [master ↑·14|…4] 
04:45 $ sudo atomicapp run . -v --provider docker
1460364339 - [INFO] - cli/main.py - Action/Mode Selected is: run
1460364339 - [DEBUG] - cli/main.py - Final parsed cmdline: run . -v --provider docker
1460364339 - [DEBUG] - nulecule/main.py - NuleculeManager init app_path: .
1460364339 - [DEBUG] - nulecule/main.py - NuleculeManager init image: None
1460364339 - [DEBUG] - nulecule/main.py - Request to unpack to None to .
1460364339 - [DEBUG] - atomicapp/plugin.py - Loading providers from /home/vagrant/atomicapp/atomicapp/providers
1460364339 - [DEBUG] - atomicapp/plugin.py - Loading providers from /home/vagrant/atomicapp/atomicapp/providers
1460364339 - [DEBUG] - atomicapp/plugin.py - Found provider <class 'docker.DockerProvider'>
1460364339 - [WARNING] - atomicapp/plugin.py - Configuration option 'providerconfig' not found
1460364339 - [DEBUG] - atomicapp/plugin.py - Found provider <class 'docker.DockerProvider'>
1460364339 - [WARNING] - atomicapp/plugin.py - Configuration option 'providerconfig' not found
1460364339 - [DEBUG] - providers/docker.py - Given config: {u'image': u'centos/httpd', u'hostport': 80, 'namespace': 'default', u'provider': u'kubernetes'}
1460364339 - [DEBUG] - providers/docker.py - Namespace: default
1460364339 - [INFO] - providers/docker.py - Deploying to provider: Docker
75501bab8fd3d427841d943af34c943e7246c65c6f1e632f8cb615b4ff037220
1460364340 - [DEBUG] - nulecule/main.py - Writing answers to file.
1460364340 - [DEBUG] - nulecule/main.py - FILE: ./answers.conf.gen
1460364340 - [DEBUG] - nulecule/main.py - ANSWERS: {u'apache-centos7-atomicapp': {u'image': u'centos/httpd', u'hostport': 80}, 'general': {'namespace': 'default', u'provider': 'docker'}}

Your application resides in .
Please use this directory for managing your application

surajssd avatar Apr 11 '16 09:04 surajssd

@surajssd, yes.. @abhi1004 can we cover the "creating a container" printed uuid as well?

dustymabe avatar Apr 11 '16 14:04 dustymabe