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
-
typosaurus12187126dWe logged once errors to db. Sadly, the error was "Too many connections" so it killed itself recursively
-
tosensei8430126dbeen 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. -
typosaurus12187126d@dissolvedgirl is coldfusion at least very performant or smth? Why use it? I'm a bit conservative with migrating myself but coldfusion.. :P
-
BobbyTables4968126dI 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. -
hjk1015696123dAt 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. -
cprn1747109dNever 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