When using a positional parameter string like the following:
{%1$s}
the GelfHandler throws an uncatched exception.
It probably is a good idea to either make this behaviour configurable (to disable MessageFormat) or
change the ordering of the formatters or to catch the exceptions. Other loggers we use do not show this behaviour .
Is there any workaround for that?
I added a reproducer under e5a47300d8dd3e00ef69b015cf2d6ece17111101.
When using a positional parameter string like the following:
{%1$s}
the GelfHandler throws an uncatched exception.It probably is a good idea to either make this behaviour configurable (to disable MessageFormat) or change the ordering of the formatters or to catch the exceptions. Other loggers we use do not show this behaviour . Is there any workaround for that?
I added a reproducer under e5a47300d8dd3e00ef69b015cf2d6ece17111101.