diff --git a/utils/pas2js/httpcompiler.pp b/utils/pas2js/httpcompiler.pp index 6ff421e5a1..176ef45bed 100644 --- a/utils/pas2js/httpcompiler.pp +++ b/utils/pas2js/httpcompiler.pp @@ -583,7 +583,9 @@ begin exit; Msg:=Format('(Proxy redirect) location: %s, Method: %s, From: %s, to: %s',[aLocation,aMethod,aFromURl,atoURL]); if IsConsole then + {AllowWriteln} Writeln(FormatDateTime('yyyy-mm-dd hh:nn:ss.zzz',Now),' [',etInfo,'] ',Msg) + {AllowWriteln-} else inherited DoLog(etInfo, Msg); end;