# Path: neckbeard/output.py
# DEFAULT_LOG_LEVEL = logging.INFO
# LEVEL_COLORS = {
#     'WARNING': BLUE,
#     'INFO': GREEN,
#     'DEBUG': DARK_GRAY,
#     'CRITICAL': RED,
#     'ERROR': RED
# }
# LOGGERS = [
#     'cli',
#     'configuration',
#     'loader',
#     'environment_manager',
#     'actions.view',
#     'actions.up',
#     'timer',
# ]
# class ColoredFormatter(logging.Formatter):
# class TimingFormatter(logging.Formatter):
#     def format(self, record):
#     def format(self, record):
# def configure_logging(level=logging.INFO):


import logging
import time
import boto.exception
import dateutil.parser
import requests
from boto.ec2 import elb
from requests.exceptions import (
    ConnectionError,
    Timeout,
    RequestException,
)
from simpledb import models
from neckbeard.output import fab_out_opts



NODE_AWS_TYPES = ['ec2', 'rds', 'elb']
EC2_RETIRED_STATES = ['shutting-down', 'terminated']
RDS_RETIRED_STATES = ['deleted']

logger = logging.getLogger('cloud_resource')


# Path: neckbeard/output.py
# DEFAULT_LOG_LEVEL = logging.INFO
# LEVEL_COLORS = {
#     'WARNING': BLUE,
#     'INFO': GREEN,
#     'DEBUG': DARK_GRAY,
#     'CRITICAL': RED,
#     'ERROR': RED
# }
# LOGGERS = [
#     'cli',
#     'configuration',
#     'loader',
#     'environment_manager',
#     'actions.view',
#     'actions.up',
#     'timer',
# ]
# class ColoredFormatter(logging.Formatter):
# class TimingFormatter(logging.Formatter):
#     def format(self, record):
#     def format(self, record):
# def configure_logging(level=logging.INFO):


# Path: neckbeard/cloud_resource.py
import logging
import time
import boto.exception
import dateutil.parser
import requests
from boto.ec2 import elb
from requests.exceptions import (
    ConnectionError,
    Timeout,
    RequestException,
)
from simpledb import models
from neckbeard.output import fab_out_opts




NODE_AWS_TYPES = ['ec2', 'rds', 'elb']
EC2_RETIRED_STATES = ['shutting-down', 'terminated']
RDS_RETIRED_STATES = ['deleted']

logger = logging.getLogger('cloud_resource')


fab_output_hides = fab_out_opts[logger.getEffectiveLevel()]