From f445ab19a1c309258ea1e144287df5ecc3a405d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com>
Date: Fri, 5 Oct 2012 16:35:22 +0200
Subject: [PATCH] Setting default logfile everywhere is too dangerous.

---
 slapos/entry.py | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/slapos/entry.py b/slapos/entry.py
index 227d7f3b6..95f7a5b00 100644
--- a/slapos/entry.py
+++ b/slapos/entry.py
@@ -106,21 +106,17 @@ def dispatch(command, is_node_command):
       call(register)
     elif command == 'software':
       call(software, config=GLOBAL_SLAPOS_CONFIGURATION,
-           option=['--pidfile /opt/slapos/slapgrid-sr.pid',
-                   '--logfile /opt/slapos/slapgrid-sr.log'])
+           option=['--pidfile /opt/slapos/slapgrid-sr.pid'])
     elif command == 'instance':
       call(instance, config=GLOBAL_SLAPOS_CONFIGURATION,
-           option=['--pidfile /opt/slapos/slapgrid-cp.pid',
-                   '--logfile /opt/slapos/slapgrid-cp.log'])
+           option=['--pidfile /opt/slapos/slapgrid-cp.pid'])
     elif command == 'report':
       call(report, config=GLOBAL_SLAPOS_CONFIGURATION,
-           option=['--pidfile /opt/slapos/slapgrid-ur.pid',
-                   '--logfile /opt/slapos/slapgrid-ur.log'])
+           option=['--pidfile /opt/slapos/slapgrid-ur.pid'])
     elif command == 'bang':
       call(bang, config=True)
     elif command == 'format':
-      call(format, config=GLOBAL_SLAPOS_CONFIGURATION,
-           option=['--log_file /opt/slapos/slapformat.log'])
+      call(format, config=GLOBAL_SLAPOS_CONFIGURATION])
     elif command in ['start', 'stop', 'status', 'tail']:
       supervisord()
       supervisorctl()
-- 
2.30.9