Index: src/python/bin/gnuboat
===================================================================
--- src/python/bin/gnuboat	(revision 6f4cadead698744e95e91f8cd7184b2a7449438e)
+++ src/python/bin/gnuboat	(revision 4f36e07d2695d0ef871e44e403978a8b456e06be)
@@ -41,5 +41,6 @@
 rrdfile = "/var/lib/gnuboat/log-webservice.rrd"
 shutdownfile = "/var/spool/gnuboat/shutdown.request"
-logfile = "/var/log/gnuboat-nmea1983.log"
+logdir = "/var/log/gnuboat"
+nmeaLogFile = "nmea0183.log"
 logperiod = 2
 displayperiod = 5
@@ -113,5 +114,5 @@
     print "  -l --logperiod         Time in seconds to update the logs"
     print "  -d --displayperiod     Timein seconds to update the display"
-    print "  -o --output            File where the NMEA1983 log is stored"
+    print "  -o --output            Directory where the log files are stored (e.g. the NMEA0183 log files)"
 
 
@@ -121,5 +122,6 @@
     global logperiod
     global displayperiod
-    global logfile
+    global logdir
+    global nmeaLogFile
     global nmeafile
 
@@ -144,5 +146,5 @@
             displayperiod = argument
         elif option in ("-o", "--output"):
-            logfile = argument
+            logdir = argument
         else:
             assert False, "unhandled option"
@@ -175,5 +177,5 @@
 
     try:
-        nmeafile = open(logfile, 'a', 0)
+        nmeafile = open("%s/%s" % (logdir, nmeaLogFile), 'a', 0)
     except IOError as error:
         print "Could not open the logfile: %s" % error
