You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know how to set by default formatted structured data ?
to be able to add in structured data other information that are already there ?
like:
'handlers': {
'test': {
'level': 'DEBUG',
'class': 'rfc5424logging.Rfc5424SysLogHandler',
'formatter': 'test',
'address': ('localhost', 514),
'structured_data': {"test@1":{ "app":"test","pathname":"%(pathname)s","line_no":"%(lineno)d","func_name":"%(funcName)s","level_name":"%(levelname)s"}},
},
},
The text was updated successfully, but these errors were encountered:
Hi,
I would like to know how to set by default formatted structured data ?
to be able to add in structured data other information that are already there ?
like:
'handlers': {
'test': {
'level': 'DEBUG',
'class': 'rfc5424logging.Rfc5424SysLogHandler',
'formatter': 'test',
'address': ('localhost', 514),
'structured_data': {"test@1":{ "app":"test","pathname":"%(pathname)s","line_no":"%(lineno)d","func_name":"%(funcName)s","level_name":"%(levelname)s"}},
},
},
The text was updated successfully, but these errors were encountered: