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
-
retoor11897109dWe logged once errors to db. Sadly, the error was "Too many connections" so it killed itself recursively
-
tosensei8375109dbeen 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. -
dissolvedgirl1064109dWow how did you know this is what's wrong with the piece of shit ColdFusion app I have to maintain?
-
retoor11897109d@dissolvedgirl is coldfusion at least very performant or smth? Why use it? I'm a bit conservative with migrating myself but coldfusion.. :P
-
BobbyTables4991109dI 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. -
dissolvedgirl1064108d@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.
-
hjk1015731106dAt 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. -
cprn170593dNever 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