
import os

from conary import conarycfg
from conary.lib import cfgtypes

class MCPConfig(conarycfg.ConfigFile):
    basePath = os.path.join(os.path.sep, 'srv', 'rbuilder', 'mcp')
    logPath = os.path.join(basePath, 'logs')

    queueHost = '127.0.0.1'
    queuePort = (cfgtypes.CfgInt, 61613)
    namespace = 'mcp'

    slaveTroveName = 'group-jobslave'
    slaveTroveLabel = 'products.rpath.com@rpath:js'


import os

from conary import conarycfg
from conary.lib import cfgtypes

class MCPConfig(conarycfg.ConfigFile):
    basePath = os.path.join(os.path.sep, 'srv', 'rbuilder', 'mcp')
    logPath = os.path.join(os.path.sep, 'var', 'log', 'rbuilder')

    queueHost = '127.0.0.1'
    queuePort = (cfgtypes.CfgInt, 61613)
    namespace = 'mcp'

    slaveTroveName = 'group-jobslave'
    slaveTroveLabel = 'products.rpath.com@rpath:js'

Move default location for MCP logs into /var/log/rbuilder/
Move default location for MCP logs into /var/log/rbuilder/

  
  import os
  
  from conary import conarycfg
  from conary.lib import cfgtypes
  
  class MCPConfig(conarycfg.ConfigFile):
      basePath = os.path.join(os.path.sep, 'srv', 'rbuilder', 'mcp')
-     logPath = os.path.join(basePath, 'logs')
+     logPath = os.path.join(os.path.sep, 'var', 'log', 'rbuilder')
  
      queueHost = '127.0.0.1'
      queuePort = (cfgtypes.CfgInt, 61613)
      namespace = 'mcp'
  
      slaveTroveName = 'group-jobslave'
      slaveTroveLabel = 'products.rpath.com@rpath:js'
  
Move default location for MCP logs into /var/log/rbuilder/
## Code Before:

import os

from conary import conarycfg
from conary.lib import cfgtypes

class MCPConfig(conarycfg.ConfigFile):
    basePath = os.path.join(os.path.sep, 'srv', 'rbuilder', 'mcp')
    logPath = os.path.join(basePath, 'logs')

    queueHost = '127.0.0.1'
    queuePort = (cfgtypes.CfgInt, 61613)
    namespace = 'mcp'

    slaveTroveName = 'group-jobslave'
    slaveTroveLabel = 'products.rpath.com@rpath:js'

## Instruction:
Move default location for MCP logs into /var/log/rbuilder/
## Code After:

import os

from conary import conarycfg
from conary.lib import cfgtypes

class MCPConfig(conarycfg.ConfigFile):
    basePath = os.path.join(os.path.sep, 'srv', 'rbuilder', 'mcp')
    logPath = os.path.join(os.path.sep, 'var', 'log', 'rbuilder')

    queueHost = '127.0.0.1'
    queuePort = (cfgtypes.CfgInt, 61613)
    namespace = 'mcp'

    slaveTroveName = 'group-jobslave'
    slaveTroveLabel = 'products.rpath.com@rpath:js'
