From b8030f6f5ec067c4461768ff9631d9b0bff5b665 Mon Sep 17 00:00:00 2001 From: James Cameron Date: Wed, 30 Mar 2011 22:17:19 +0000 Subject: disable default server for log submission, #2277 In the logcollect.py script, disable the command line option for sending the logs to a default server. This option is not used by the activity, but was present for command line usage. Signed-off-by: James Cameron --- diff --git a/logcollect.py b/logcollect.py index 8713048..a1251a4 100644 --- a/logcollect.py +++ b/logcollect.py @@ -484,10 +484,8 @@ if sys.argv[0].endswith('logcollect.py') or \ print """logcollect.py - send your XO logs to OLPC Usage: - logcollect.py http - send logs to default server - logcollect.py http://server.name/submit.php - - submit logs to alternative server + - submit logs to a server logcollect.py file:/media/xxxx-yyyy/mylog.zip - save the zip file on a USB device or SD card @@ -536,7 +534,8 @@ Usage: if mode.startswith('http'): print "Trying to send the logs using HTTP (web)" if len(mode) == 4: - url = 'http://olpc.scheffers.net/olpc/submit.tcl' + print "No default log destination, aborting" + sys.exit(1) else: url = mode -- cgit v0.9.1