Turn off logging of action parameters

8 views
Skip to first unread message

David S Taylor

unread,
Mar 19, 2016, 12:25:35 PM3/19/16
to actionHero.js
Is there a way to turn off logging of individual action parameters. Say I don't want to log clear text password action parameters

Evan Tahler

unread,
Mar 19, 2016, 2:13:26 PM3/19/16
to actionHero.js
Sure!  Look for `api.config.general.filteredParams`

Evan Tahler

unread,
Mar 19, 2016, 2:18:20 PM3/19/16
to actionHero.js

David S Taylor

unread,
Mar 19, 2016, 6:12:21 PM3/19/16
to actionHero.js
Thanks, worked perfectly:

"password":"[FILTERED]"

Reply all
Reply to author
Forward
0 new messages