[pskmail] Re: [pskmail] Re: How to have standard log on fldigi 3.11 and difference from 3.10

  • From: Rein Couperus <rein@xxxxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Sat, 18 Apr 2009 18:08:59 +0200

This is how the linux client takes care of the problem:

my $logs = `ls "$ENV{HOME}/.fldigi" | grep .log | grep -v status`;
my @modemlogs = split "\n", $logs;
my @sortedlogs = sort { $b cmp $a } @modemlogs;
my $modemlogfile = "$ENV{HOME}/.fldigi/$sortedlogs[0]";

73,

Rein PA0R

> -----Ursprüngliche Nachricht-----
> Von: "Pär Crusefalk" <per@xxxxxxxxxxxx>
> Gesendet: 18.04.09 15:52:54
> An: pskmail@xxxxxxxxxxxxx
> Betreff: [pskmail] Re: How to have standard log on fldigi 3.11 and difference 
> from 3.10


> Hi Fred,
> 
> I was afraid of that too but actually it doesn't.
> The date is set when the log is started and it stays that way until its
> closed. I started my log three days ago and it still uses the same name
> (and the link is still good). But, should I close the log and restart it
> then I will have the date issue for sure. So the symlink works but its
> just a work around the issue (Robertos fix is the recommended way to do
> it).
> 
> 73 de Per
> 
> 
> lör 2009-04-18 klockan 08:35 -0500 skrev Fred Reiselt:
> > Per,
> > 
> > You may find that your symlink will only work for one day. The log file 
> > is date coded and the filename changes each day.
> > 
> > 73,
> > Fred - WB5CON
> > 
> > Pär Crusefalk wrote:
> > > Hi Roberto,
> > >
> > > Excellent description, should be the way to go!
> > >
> > > I was lazy and just put a symlink to the log file. I just started
> > > fldigi, turned logging on and looked for the name of the log. Then
> > > created a symlink to it: "ln -s fldigi20090415.log fldigi.log"
> > > It works until I restart the logging, then the symlink will have to be
> > > redone so its not at all as good as your solution (but works too).
> > >
> > > 73 de Per
> > >
> > > lör 2009-04-18 klockan 09:46 +0200 skrev Roberto IS0GRB:
> > >   
> > >> Hi to all.
> > >> I have installed on IS0GRB-3 the new fldigi 3.11, but as in the
> > >> previous version 3.10, the log format is in different format from
> > >> others versions and this create some problems on pskmail monitor with
> > >> gmfsk.php Per (smorwo) script
> > >> How suggested on february in this list from Fred WB5CON and tested by
> > >> me in 3.10 and 3.11 the solution is:
> > >>
> > >> Downloaded the fldigi version .tar.gz. 
> > >>
> > >> Decompress it in your preferred directory with: 
> > >>
> > >> tar xvzf fldigi-3.11.tar.gz 
> > >>
> > >> go in the directory: 
> > >>
> > >> fldigi-3.11/src 
> > >>
> > >> edit the file: 
> > >>
> > >> main.cxx 
> > >>
> > >> and remove the row 255:
> > >>
> > >> lfname.append(tdy.szDate(2));
> > >>
> > >> between these rows: 
> > >>
> > >> lfname.append("fldigi");
> > >> lfname.append(tdy.szDate(2));     <-----remove it
> > >> lfname.append(".log");
> > >>
> > >>
> > >> after, come back in the main directory fldigi-3.11 and compile it: 
> > >>
> > >> ./configure --enable-threads 
> > >> make 
> > >> make intall 
> > >>
> > >> Very important!
> > >> The log in this version will be named "gMFSK.log" and will be in the
> > >> main directory.
> > >> In the previous version was named "fldigi.log" in the .fldigi
> > >> directory.
> > >> So, change the path in the gmfsk.php script to have again the log
> > >> traffic in pskmail monitor.
> > >> In my server the new path is "/home/is0grb/gMFSK.log".
> > >>
> > >> Now the new fldigi 3.11 will write the fldigi.log in the previous
> > >> standard. 
> > >>
> > >> 73 
> > >>
> > >> Roberto IS0GRB 
> > >>  
> > >>  
> > >>     
> > >
> > >   
> > > ------------------------------------------------------------------------
> > >
> > >
> > > No virus found in this incoming message.
> > > Checked by AVG - www.avg.com 
> > > Version: 8.5.287 / Virus Database: 270.11.59/2064 - Release Date: 
> > > 04/17/09 07:08:00
> > >
> > >   
> > 
> 
> 
> 

-- 
http://pa0r.blogspirit.com

Other related posts:

  • » [pskmail] Re: [pskmail] Re: How to have standard log on fldigi 3.11 and difference from 3.10 - Rein Couperus