Revision 82d9caef daemons/ganeti-rapi

b/daemons/ganeti-rapi
28 28
import os
29 29
import signal
30 30

  
31
from ganeti import logger
32 31
from ganeti import constants
33 32
from ganeti import errors
34 33
from ganeti import http
......
127 126
  if options.fork:
128 127
    utils.Daemonize(logfile=constants.LOG_RAPISERVER)
129 128

  
130
  logger.SetupLogging(constants.LOG_RAPISERVER, debug=options.debug,
129
  utils.SetupLogging(constants.LOG_RAPISERVER, debug=options.debug,
131 130
                     stderr_logging=not options.fork)
132 131

  
133 132
  utils.WritePidFile(constants.RAPI_PID)

Also available in: Unified diff