summaryrefslogtreecommitdiffstats
path: root/scripts/cobblerd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cobblerd')
-rwxr-xr-xscripts/cobblerd4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cobblerd b/scripts/cobblerd
index 9a63a60e..fef360b3 100755
--- a/scripts/cobblerd
+++ b/scripts/cobblerd
@@ -82,13 +82,13 @@ def main():
# load the API now rather than later, to ensure cobblerd
# startup time is done before the service returns
- api = cobbler_api.BootAPI()
+ api = cobbler_api.BootAPI(log_settings=log_settings, is_cobblerd=True)
if options.daemonize:
daemonize_self()
try:
- app.core()
+ app.core(api)
except:
# FIXME: logging also?
traceback.print_exc()