{"action":"opened","issue":{"url":"https://api.github.com/repos/cuckoobox/cuckoo/issues/540","labels_url":"https://api.github.com/repos/cuckoobox/cuckoo/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/cuckoobox/cuckoo/issues/540/comments","events_url":"https://api.github.com/repos/cuckoobox/cuckoo/issues/540/events","html_url":"https://github.com/cuckoobox/cuckoo/issues/540","id":74223785,"number":540,"title":"Provide option to disable color output in CLI commands","user":{"login":"dspruell","id":4055617,"avatar_url":"https://avatars.githubusercontent.com/u/4055617?v=3","gravatar_id":"","url":"https://api.github.com/users/dspruell","html_url":"https://github.com/dspruell","followers_url":"https://api.github.com/users/dspruell/followers","following_url":"https://api.github.com/users/dspruell/following{/other_user}","gists_url":"https://api.github.com/users/dspruell/gists{/gist_id}","starred_url":"https://api.github.com/users/dspruell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dspruell/subscriptions","organizations_url":"https://api.github.com/users/dspruell/orgs","repos_url":"https://api.github.com/users/dspruell/repos","events_url":"https://api.github.com/users/dspruell/events{/privacy}","received_events_url":"https://api.github.com/users/dspruell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-08T04:17:20Z","updated_at":"2015-05-08T04:17:20Z","closed_at":null,"body":"Is it possible to add an option to cuckoo.py to disable output of the color sequences?\r\n\r\nIn some setups, such as when running the Cuckoo commands from Upstart jobs and redirecting stdout/stderr to a log using *console log*, command output is placed as is in a log file. Other process managers can behave this way as well.\r\n\r\nLog files then look as follows:\r\n\r\n```\r\n Cuckoo Sandbox ESC[33m1.2ESC[0m\r\n www.cuckoosandbox.org\r\n Copyright (c) 2010-2015\r\n\r\n Checking for updates...\r\nESC[32m Good! ESC[0mYou have the latest version available.\r\n\r\n2015-05-08 01:27:00,803 [root] CRITICAL: ESC[31mCuckooCriticalError: Unable to bind ResultServer on 192.168.56.1:9000: [Errno 99] Cannot assign requested addressESC[0m\r\n```\r\nDisabling color in output could increase readability in these cases."}}