<dt>{lang}wcf.acp.exceptionLog.exception.referrer{/lang}</dt>
<dd>{$exception[referrer]}</dd>
</dl>
+ <dl>
+ <dt>{lang}wcf.acp.exceptionLog.exception.userAgent{/lang}</dt>
+ <dd>{$exception[userAgent]}</dd>
+ </dl>
<dl>
<dt>{lang}wcf.acp.exceptionLog.exception.stacktrace{/lang}</dt>
<dd style="font-family: monospace; word-wrap: wrap-all; word-break: break-all;">
WCF version: (?<wcfVersion>.*?)
Request URI: (?<requestURI>.*?)
Referrer: (?<referrer>.*?)
+User-Agent: (?<userAgent>.*?)
Stacktrace:
(?<stacktrace>.*)', Regex::DOT_ALL);
$stackTraceFormatter = new Regex('^\s+(#\d+)', Regex::MULTILINE);
$e = ($this->getPrevious() ?: $this);
+ // don't forget to update ExceptionLogViewPage, when changing the log file format
$message = date('r', TIME_NOW)."\n".
'Message: '.$e->getMessage()."\n".
'File: '.$e->getFile().' ('.$e->getLine().")\n".