[ gpsdrive ] OT: ? Pipeing stdout and stderr from GPSDrive to a log file
Rikard Johnels
rikard.j at rikjoh.com
Sun Aug 3 08:31:28 AKDT 2008
Hi again..
I run GPSDrive as before:
Version 2.09 on SLED 10 sp1, and a BU-353 USB GPS Receiver.
I use a HP nc8000 laptop for the experimentations.
I leave GPSDriove running with "Saver Track" enabled.
After an undefined time it segfaults on me.
I want to store a debug log somewhere to try to see WHY it segfaults.
But i cant seem to redirect the "gpsdrive -d" output into a file.
I tried several different ways:
gpsdrive -d >> logfile
gpsdrive -d 1>&2 >> logfile
gpsdrive -d | tee -a logfile
But from what i can see, the log doesnt really mirror what i see on stdout.
On stdout i can see logs like
satnumber: 24 elev : 7 azimuth: 169 signal 0db
satnumber: 9 elev: 7 azimuth: 161 signal 0db
but these does not show up in the logfile,
So my question is:
How do i grab EVERYTHING that comes from gpsdrive -d and shove it into a file
for later debugging?
/Rikard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20080803/96cdfa2e/attachment.bin>
More information about the GPSdrive
mailing list