diff options
author | James Cameron <quozl@laptop.org> | 2011-03-30 22:17:19 (GMT) |
---|---|---|
committer | James Cameron <quozl@laptop.org> | 2011-03-30 22:17:19 (GMT) |
commit | b8030f6f5ec067c4461768ff9631d9b0bff5b665 (patch) | |
tree | a73fb6b02464b05cdd0a650ec21978b3b6d57dda | |
parent | 1ce617998410da5c84f105204d4e47fd2148d990 (diff) |
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 <quozl@laptop.org>
-rw-r--r-- | logcollect.py | 7 |
1 files changed, 3 insertions, 4 deletions
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 |