Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor12004113dWe logged once errors to db. Sadly, the error was "Too many connections" so it killed itself recursively
-
tosensei8411113dbeen there, done that.
customer demanded that stuff gets logged into a database table.
when inserting into that table fails for whatever reasons, an exception gets thrown, which the error handler catches and tries to log, spinning up a new logger, trying to insert via the same, temporarily broken db-connection.
queue stack overflow and application death. -
dissolvedgirl1065113dWow how did you know this is what's wrong with the piece of shit ColdFusion app I have to maintain?
-
retoor12004113d@dissolvedgirl is coldfusion at least very performant or smth? Why use it? I'm a bit conservative with migrating myself but coldfusion.. :P
-
BobbyTables4991113dI was told that if the DB credentials were incorrect that it has to connect to the database and log the error.
What. The. Actual. Duck. -
dissolvedgirl1065112d@retoor I got thrown on this project last month and the contractor decided 4 years ago that ColdFusion is the next PHP. I've never even heard of ColdFusion before this project. It's worse than PHP and way more expensive to host.
-
hjk1015731110dAt work we have a central logging server but also always log to stdout.
As our team actively removes noise this works nicely without impact. Did have an instance where sending the logs was sore l so slow (network issue) that there was internal resource usage buildup and it killed the service anyway. At least that was visible. -
cprn173997dNever seen that happen. Did someone make logging a part of the main loop somehow?
I mean, I've seen that done for auditory purposes in systems where all actions had to be logged or otherwise they were supposed to fail. But how do you do that not on purpose?
Related Rants
It's always fun when the app is crashed by a... logger
rant
null pointer
design
nulpointerexception
crash
logging
npe
logger
fail
logs