%% Conversion Character

Enables you to specify a literal percent sign symbol in a text string of a conversion pattern.

Syntax

%%

Details

A single percent sign is interpreted as a conversion specifier. Two percent signs are interpreted as literal text, which is delivered as a single percent sign in the log event.

Example

Here is an example of the %% conversion character:
<param name="ConversionPattern" value="%d;text%%text;%m"/>
Here is sample output:
2011–06–25–10:24:22,234; text%text;Numeric maximum was larger than 8, am setting to 8