[pskmail] Re: PSK Mail Monitor, fldigi Log File

  • From: Klaus Lohmann <kl@xxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Wed, 25 May 2011 16:57:57 +0200

Per,

that will do for the moment. Although its not really eficcient to find a file, which will not change its name in a day, EVERY few seconds.

BUT I don't want to fiddle around with somebody elses concept.

crontab entry and installation also should be changed, but installation did not "cooperate" with my Ubuntu System and is done now anyway.

73 de Klaus, DL4OAH


Am 25.05.2011 13:36, schrieb Per Crusefalk:
Hi Klaus,

Not that I know. I usually do "ln -s fldigixxyyzz.log fldigi.log".
OTOH its been a while since I touched gmfsk.php so I could have it look
for the latest log file instead, that would make it much easier.
I cant do it just now but I'll try to get to it.

73 de Per,
sm0rwo


ons 2011-05-25 klockan 13:01 +0200 skrev Klaus Lohmann:
Hello PSKMail Monitor users,

I did check in fldigi (3.21.9)  File/TextCapture/Log all.....

Fldigi creates a file fldigiJJJJMMTT.log, but PSKMail Monitor expects
fldigi.log, no date als part of the filename.

Can I set the name of the logfile somewhere in Fldigi?

Thanks in advance
Klaus
DL4OAH




$linestoread) $newarray = array_slice($line_array,1-$linestoread); /* return only the last lines */ /* output it right away */ $current = reset($newarray); if ($current) print("$current
"); while($current = next($newarray)) { if (strpos($current,"TX (")===FALSE) print("$current
\n"); else print("$current
\n"); } } ?> 0) { print(""); } ?> $latest) $latest = substr($file,6,8); } } closedir($verzeichnis); } if ($latest > "") $filename = $fldigi_log_path . "fldigi" . $latest . ".log"; $mylines = $_GET['lines']; if ($mylines > 0) { readlastlinesoffile($filename,$mylines); } else{ readlastlinesoffile($filename,100); } ?>

Other related posts: