Skip to content

Commit b6f5959

Browse files
authored
Update README to mention creating a parser
Log4J / SLF4J logs are (usually) plain text logs, so I need to mention creating a new parser in the Log4J / SLF4J section.
1 parent 5f6067f commit b6f5959

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ log4j.appender.LAMBDA.layout.conversionPattern=%d{yyyy-MM-dd HH:mm:ss} %X{dd.tra
215215

216216
would result in log lines looking like `2020-11-13 19:21:53 [dd.trace_id=1168910694192328743 dd.span_id=3204959397041471598] INFO com.serverless.Handler:20 - Test Log Message`
217217

218+
Just like the **Plain Text Logs** in the previous section, you must create a new [Parser](https://docs.datadoghq.com/logs/processing/parsing/?tab=matcher) in order to parse the trace context correctly.
219+
220+
218221
#### Other logging solutions
219222

220223
If you are using a different logging solution, the trace ID can be accessed using the method

0 commit comments

Comments
 (0)