Hi All,
I have been struggling with customizing JSON format for console output.
According to freeswitch/src/mod/loggers/mod_console/mod_console.c at master · signalwire/freeswitch · GitHub, the config should be read from json-log-format setting
<json-log-format>
<format field="ident" name="mycustomident"/>
<format field="testField" name="testField"/>
<format field="short-message" name="test short-message"/>
<config name="custom-field-prefix" value="{Core-UUID:123}"/>
<config name="timestamp-divisor" value="100000"/>
</json-log-format>
Is it possible to override ‘level’ element to populated a string level (DEBUG, INFO etc…) instead of the integer level ?
What is the expected syntax for custom-field-prefix input to populate some extra headers ?
Thank you in advance.