Anybody knows of some discussion about logging recommendations? for example, sensible logging config.
for different environments, let's say: local development, CI (maybe), staging, and production?
chasonchaffin
k_sze[work] I use Sentry for production. much easier than rooting around through log files
bigblind joined the channel
k_sze[work]
It's a bit hard to decide whether I'm logging too much or too little, and if I'm logging the right things
aossama joined the channel
chasonchaffin
don't really use logging in dev, usually use a debugger for that
um87 has quit
shredding has quit
mattmcc
Once you get it all into Sentry, you can filter by which logger, which log level, search by string, etc.
InventorTechie joined the channel
chasonchaffin
as far as what to log, I generally only log exceptional things. and those are almost all exceptions anyway so will get logged by default. In a previous project I had to run a converter on customers with a certain type of old account so I would log when that happened
shallow joined the channel
nobodi joined the channel
samsagaz joined the channel
theology has quit
shredding joined the channel
backnforth has quit
fikka has quit
csotelo has quit
cdignam joined the channel
geekodour08 joined the channel
shredding has quit
aossama has quit
fikka joined the channel
shredding joined the channel
aossama joined the channel
shredding has quit
k_sze[work]
I see.
iiuc, sentry can be a paid SaaS or self-hosted, right?
chriys joined the channel
shredding joined the channel
mcspud
chasonchaffin - exceptions are by their very nature exceptional