Click here to Skip to main content
15,885,435 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralLogging, as in application level... Pin
charlieg22-Feb-21 10:40
charlieg22-Feb-21 10:40 
GeneralRe: Logging, as in application level... Pin
Chris Maunder22-Feb-21 10:56
cofounderChris Maunder22-Feb-21 10:56 
GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 11:24
mvahoney the codewitch22-Feb-21 11:24 
GeneralRe: Logging, as in application level... Pin
Gerry Schmitz22-Feb-21 12:35
mveGerry Schmitz22-Feb-21 12:35 
GeneralRe: Logging, as in application level... Pin
Chris Maunder22-Feb-21 13:17
cofounderChris Maunder22-Feb-21 13:17 
GeneralRe: Logging, as in application level... Pin
Rick York22-Feb-21 19:34
mveRick York22-Feb-21 19:34 
GeneralRe: Logging, as in application level... Pin
Jörgen Andersson22-Feb-21 22:42
professionalJörgen Andersson22-Feb-21 22:42 
GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 11:18
mvahoney the codewitch22-Feb-21 11:18 
I don't like logging which is why I don't instrument for it until i have to, or if i'm working on a system that I can't debug for whatever reason.

I don't like it because

A) it's yet another thing to manage. Who cleans up your log files, just for example?

B) it's more work and in most applications on a modern machine I've written them such that I can identify the problem with a little bit of tinkering in a debugger. So it just doesn't pay for itself the way i code, or at least it doesn't pay for itself to do so preemptively

C) This is mainly a complaint i have with my C++ apps for reasons, including reasons of not having much of a unified way to do reliable logging that's consistent from app to app, but there's just so much buy in for logging and then usually it means injecting those dependencies into every single part of your code, which means all your libraries you produce and such have a fixed dependency on a logging subsystem, which now you have to manage as well. And across all the libs you've built that use it. Unless of course, you're just basically doing dirty old printfs...

I should add the caveat that I do not do enterprise application development anymore. If there were ever a good case for logging, it's on large incredibly complicated applications running on disparate, possibly remote systems.
Real programmers use butterflies

GeneralRe: Logging, as in application level... Pin
TheGreatAndPowerfulOz22-Feb-21 12:03
TheGreatAndPowerfulOz22-Feb-21 12:03 
GeneralRe: Logging, as in application level... Pin
Gary R. Wheeler22-Feb-21 12:08
Gary R. Wheeler22-Feb-21 12:08 
GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 12:12
mvahoney the codewitch22-Feb-21 12:12 
GeneralRe: Logging, as in application level... Pin
charlieg24-Feb-21 1:54
charlieg24-Feb-21 1:54 
GeneralRe: Logging, as in application level... Pin
Greg Utas22-Feb-21 11:40
professionalGreg Utas22-Feb-21 11:40 
GeneralRe: Logging, as in application level... Pin
charlieg24-Feb-21 1:56
charlieg24-Feb-21 1:56 
GeneralRe: Logging, as in application level... Pin
Eddy Vluggen22-Feb-21 12:01
professionalEddy Vluggen22-Feb-21 12:01 
GeneralRe: Logging, as in application level... Pin
Randor 22-Feb-21 12:14
professional Randor 22-Feb-21 12:14 
GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 12:32
mvahoney the codewitch22-Feb-21 12:32 
GeneralRe: Logging, as in application level... Pin
Randor 22-Feb-21 12:51
professional Randor 22-Feb-21 12:51 
GeneralRe: Logging, as in application level... Pin
honey the codewitch22-Feb-21 12:59
mvahoney the codewitch22-Feb-21 12:59 
GeneralRe: Logging, as in application level... Pin
Peter_in_278022-Feb-21 14:08
professionalPeter_in_278022-Feb-21 14:08 
GeneralRe: Logging, as in application level... Pin
Rick York22-Feb-21 19:22
mveRick York22-Feb-21 19:22 
GeneralRe: Logging, as in application level... Pin
Greg Utas23-Feb-21 0:14
professionalGreg Utas23-Feb-21 0:14 
GeneralRe: Logging, as in application level... Pin
BernardIE531722-Feb-21 20:37
BernardIE531722-Feb-21 20:37 
GeneralRe: Logging, as in application level... Pin
Greg Utas23-Feb-21 0:03
professionalGreg Utas23-Feb-21 0:03 
GeneralRe: Logging, as in application level... Pin
BernardIE531723-Feb-21 9:01
BernardIE531723-Feb-21 9:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.