|
I have never used log4 but know of people that have used it. It may be bad code. I actually don't know.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I'm sure that it is of use, and I used log4net [same stuff, ported to .Net] with no problems - It is just that C++ compilers are known for... Aaahm... frequent changes and therefore may not be the best thing to let code rotten for 4 years. My 5 cents.
The scariest moment is always just before the Start - Stephen King Die Frauen warten auf die Liebe, und die Männer warten auf die Frauen - Wolf Wondratschek
|
|
|
|
|
Fair point.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Logging frameworks are over-rated, imo. In order for such a framework to be useful in a wide variety of situations, it must be quite complicated and extensible (having some kind of plugin or registration architecture, configuration and so on). However, actual logging requirements for any individual application are pretty straightforward and can be managed with a simple logger interface with one or more implementations for testing, deployment etc. This means that any worthwhile general logging framework is always overkill for every application in which you use it.
|
|
|
|
|
Tell that our PM - We have a Tool Portfolio, and whatever is in that Portfolio we are forced to use.
The scariest moment is always just before the Start - Stephen King Die Frauen warten auf die Liebe, und die Männer warten auf die Frauen - Wolf Wondratschek
|
|
|
|
|
Can't agree more.
My logging coding practice is always done in this order :
-First I Console.Write.
-Then if Console.Write does not fit anymore because of some feature, I replace them with "Logger.Write" Logger being one of my classes, then inside I use the TraceSource class. (the standard .NET log lib).
Astronauts say : "yeah but you have to break your code anywhere"... Is it such big of a deal to replace all Console.Write in your code to Logger.Write ?
Never understood why people fear so much refactoring code... f*** the advantage of software is that it is soft and we can change.
Such over bloated logging framework exists only because some developer prefer to develop a plugin instead of modifying the code when features change... then we end up with config mess. (I have scars, and also from my own old code)
The though process of architect astronaut are as such :
-"My client does not know where to log stuff, so instead of taking a decision, I will allows everything by using the pluggable logging framework X"
Then for very sick astronauts the second question is : (I was one of those, and looking back, I would put my fist in my younger face... I was reading too much martin fowler)
-"My client does not know which pluggable logging framework to use... so I need to develop an extensible logging framework-framework to change logging framework X if it is not good"
And then you end up with 5 layers of interface from different logging frameworks.
Such logging framework over rating is a symptom of an indecisive team.
It was a long response but I get so much scars of these indecision that it made me on fire.
Suffered from until I learned the "Don't ask permission, take the decision and apologize if it does not fit".
|
|
|
|
|
I have consulted the interwebs to try and decide what to do today.
Seems legit[^]
|
|
|
|
|
Why is Uhura black?
William Shatner!
---------------------------------
Obscurum per obscurius.
Ad astra per alas porci.
Quidquid latine dictum sit, altum videtur .
|
|
|
|
|
|
Listen to the voices
(except those that say that you should build a bunker, wear a tin hat and shoot everybody in sight)
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
So...the chainsaw is OK in Tesco then?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
OriginalGriff wrote: So...the chainsaw is OK in Tesco then? Only if they're out of gin - in that case it's a legitimate and valid response!
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Tesco? TESCO? YOU SHOP AT TESCO?
Damned fool, get your groceries delivered on a hand cart from t'market like the rest of us!
|
|
|
|
|
Did I say I shopped there? I just want to go amok there with a chainsaw!
Sort of "Supermarket Sweep" but with added infanticide...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Johnny J. wrote: (except those that say that you should build a bunker, wear a tin hat and shoot everybody in sight)
I thought that was the American Constitution.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
Attend A.A.
“The best hope is that one of these days the Ground will get disgusted enough just to walk away ~ leaving people with nothing more to stand ON than what they have so bloody well stood FOR up to now.” Kenneth Patchen, Poet
|
|
|
|
|
No way, I'm with the RAC!
|
|
|
|
|
-- or --
Alcoholics go to meetings, drunks go to parties!
|
|
|
|
|
Rehab is for quitters...
Will Rogers never met me.
|
|
|
|
|
If in doubt Gins the way out!
|
|
|
|
|
Movie Quote Of the Day
One grain of sand. It is all that remains of my vast empire.
Which movie?
|
|
|
|
|
Police Academy 5: Assignment: Miami Beach[^]???
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Catch Me If You Can..
Don't mind those people who say you're not HOT. At least you know you're COOL.
I'm not afraid of falling, I'm afraid of the sudden stop at the end of the fall! - Richard Andrew x64
|
|
|
|
|
The Scorpion king
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
The Kanye West Horror Show?
|
|
|
|