Hello there
On our project, I’m currently working on the enhancement of our logs system, to provide more details about each requests. However, for some reason, the logger morgan
is unable to log when an User use a SmartAction.
For reference, I’m following this documentation Track users’ logs with morgan - Woodshop.
Is there a way to enable log for SmartActions? I know about the Activity
tab but we really would like to include the logs of the SmartActions directly within morgan
.
Thanks!
p.s: On this code, I had to replace this line ip: tokens.ip(req, res),
by ip: tokens['remote-addr'](req, res),
in order to make it working properly