pjlegato / ring.middleware.logger

Ring middleware to log each request
58 stars 24 forks source link

Cannot see the request ID in the log #19

Open arichiardi opened 8 years ago

arichiardi commented 8 years ago

My log at the moment are in the form:

20:09:34.004 [qtp665157650-258] INFO onelog.core - Finished :get /qu for 127.0.0.1 in (2 ms) Status: 404

Which is very nice but I was wondering if I can obtain the same as the README: the id of the request instead of the onelog.core namespace.

Maybe it is only a setting in the appender configuration, which at the moment is: <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>

Thanks for this addition to the ring ecosystem :D