Skip to content

api_logfile setting takes no effect #38479

Closed

Description

@tyeapple

source code: salt/config/init.py, line: 3435 - 3448
User can't customize api_logfile.

Version: tags/2016.11.1

def api_config(path):
    '''
    Read in the Salt Master config file and add additional configs that
    need to be stubbed out for salt-api
    '''
    # Let's grab a copy of salt's master opts
    opts = client_config(path, defaults=DEFAULT_MASTER_OPTS)
    # Let's override them with salt-api's required defaults
    api_opts = DEFAULT_API_OPTS
    api_opts.update({
        'pidfile': opts.get('api_pidfile', DEFAULT_API_OPTS['api_pidfile']),
    })
    opts.update(api_opts)
    return opts

Activity

  1. Ch3LL commented on Jan 4, 2017

    @Ch3LL
    Contributor

    @tyeapple mind giving #38560 a try?

  2. added
    bug
    severity-medium
    RIoT
    P3
    on Jan 4, 2017
  3. added this to the Approved milestone on Jan 4, 2017
  4. added
    fixed-pls-verify
    on Jan 4, 2017
  5. rallytime commented on Feb 21, 2017

    @rallytime
    Contributor

    Since we didn't receive a response here, and this should be all fixed up by the changes made in #38560, #38527, and #38585 (the last one containing tests for this issue), I'm going to close this. If this pops up again, we are happy to re-open the issue and take another look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3RIoTSalt-APIbugfixed-pls-verifyseverity-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions