2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

01_FHEMWEB.pm: logFormat fixes (Forum #113192)

git-svn-id: https://svn.fhem.de/fhem/trunk@22543 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-08-05 05:53:57 +00:00
parent ff46768e53
commit 1790d85238

View File

@ -3520,7 +3520,7 @@ FW_log($$)
b=>$length
);
$fmt =~ s/%\{([^" ]*)\}/
$fmt =~ s/%\{([^" ]*)\}i/
defined($FW_httpheader{$1}) ? $FW_httpheader{$1} : "-" /gex;
$fmt =~ s/%([^" ]*)/defined($cp{$1}) ? $cp{$1} : "-"/ge;
@ -3956,7 +3956,7 @@ FW_log($$)
<li>logFormat ...<br>
Default is the Apache common Format (%h %l %u %t "%r" %>s %b).
Currently only these "short" place holders are replaced. Additionally,
each HTTP Header X can be accessed via %{X}.
each HTTP Header X can be accessed via %{X}i.
</li><br>
<a name="longpoll"></a>