forcedotcom / git2gus

A Github application to keep issues in sync with Agile Accelerator
https://lwc-gus-bot.herokuapp.com
BSD 3-Clause "New" or "Revised" License
27 stars 16 forks source link

Remove calls to console.log #157

Open mpsenn opened 1 year ago

mpsenn commented 1 year ago

The app has a Winston logger that handles newlines and other logging problems from console.log. Replace any calls to console.log with imports from this class.

https://github.com/forcedotcom/git2gus/blob/main/api/services/Logs/logger.js#L4

git2gus[bot] commented 1 year ago

Git2Gus App is installed but the .git2gus/config.json doesn't exist.

mpsenn commented 1 year ago

Kind of curious that PRs like #60 removed calls to this service, using console.log instead. I'm finding that multiline logs end up being split by logplex which leads to parsing errors. This is described in sumologic's pages also.