-
Logger internally uses MessageFormat, which documentation says:
Within a String, a pair of single quotes can be used to quote any arbitrary characters except single quotes. For example, pattern string "'{0}'" represents string "{0}", not a FormatElement. A single quote itself must be represented by doubled single quotes '' throughout a String. For example, pattern string "'{''}'" is interpreted as a sequence of '{ (start of quoting and a left curly brace), '' (a single quote), and }' (a right curly brace and end of quoting), not '{' and '}' (quoted left and right curly braces): representing string "{'}", not "{}".
I was thinking about modifying our formatter to replace it on the fly, but performance penalty made no sense so I replaced all offending log entries manually.
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Spent time |
0
|
Instead having variable value placeholder (
{0}
) is printed, eg: