osmlab / to-fix-backend

The to-fix server
BSD 3-Clause "New" or "Revised" License
15 stars 13 forks source link

log all user actions [pending tests] #232

Closed batpad closed 6 years ago

batpad commented 6 years ago

Writing tests for this is probably going to be a bit of work. I'm to deploy this and see how it works in the real world, and then loop back to writing tests (we have tests for the log-driver itself, so I don't feel so bad).

@elifitch how does that sound? and can you give this code a quick look?

elifitch commented 6 years ago

@batpad Need to set exportLog: true if you want the logs to export. And you set the log level by calling a method like logger.info or logger.error