title: AWS Cloud Watch unreadable symbols
body: <p>I want to get all logs from docker (from stdout) on my EC2 instance. So after configuring policy and IAM roles, in my docker-compose.yml I add next configuration for logging:</p>
  
  <pre><code>django:
  ...
  logging:
    driver: "awslogs"
    options:
      awslogs-region: "eu-central-1"
      awslogs-group: "my-group-auto"
      awslogs-stream: "my-stream"
      awslogs-create-group: "true"
  </code></pre>
  
  <p>Django config:</p>
  
  <pre><code>LOGGING = {
    'version': 1,
    'disable_existing_loggers': True,
    'root': {
       'level': 'ERROR',
       'handlers': ['console'],
    },
    'formatters': {
       'message-only': {
          'format': '%(message)s'
       }
    },
    'handlers': {
       'console': {
          'level': 'DEBUG',
          'class': 'logging.StreamHandler',
          'formatter': 'message-only'
       }
    },
    'loggers': {
       'celery': {
          'level': 'DEBUG',
          'handlers': ['console'],
          'propagate': False,
       }
    }
  }
  </code></pre>
  
  <p>Then I run the python shell and try to send some logs:</p>
  
  <pre><code>In [1]: import logging
  In [2]: logger = logging.getLogger('celery')
  In [3]: logger.info('info2')
  In [4]: logger.info('info22')
  </code></pre>
  
  <p>But on AWS Cloud Watch I got logs with unreadable symbols before original log message:</p>
  
  <pre><code>16:34:27    [J[?7h[0m[?12l[?25h[?2004linfo2
  16:35:23    [J[?7h[0m[?12l[?25h[?2004linfo22
  </code></pre>
  
  <p>Looks like some unreadable date before the messages. How can I remove it?</p>