Bei der 00_SIGNALduino.pm wird das fakelog nur dazu verwendet um im "Information menu" über eine url das "Last Flashlog" auszugeben, gibts dafür eine andere Möglichkeit?
sub SIGNALduino_FW_Detail($@) {
my ($FW_wname, $name, $room, $pageHash) = @_;
my $hash = $defs{$name};
my @dspec=devspec2array("DEF=.*fakelog");
my $lfn = $dspec[0];
my $fn=$defs{$name}->{TYPE}."-Flash.log";
my $ret = "<div class='makeTable wide'><span>Information menu</span>
<table class='block wide' id='SIGNALduinoInfoMenue' nm='$hash->{NAME}' class='block wide'>
<tr class='even'>";
if (-s AttrVal('global', 'logdir', './log/') .$fn)
{
my $flashlogurl="$FW_ME/FileLog_logWrapper?dev=$lfn&type=text&file=$fn";
$ret .= "<td>";
$ret .= "<a href=\"$flashlogurl\">Last Flashlog<\/a>";
$ret .= "</td>";
}
...
Gruß Ralf