def METHOD_NAME(config):
    """Set up logging system, according to FINN best practice for cloud
    - Always logs to stdout
    - Select format from env-variable LOG_FORMAT
    -- json - Use the logstash formatter to output json
    -- plain or blank - Use plain formatting
    -- Anything else raises exception
    """
    root = logging.getLogger()
    root.setLevel(logging.INFO)
    if config.debug:
        root.setLevel(logging.DEBUG)
    root.addHandler(_create_default_handler(config))
    root.addHandler(StatusHandler())
    _set_special_levels()