|
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
Could some of you guys share a bit about your projects that use logging (not as a debugging process component but as a normal way of application functioning) and the type of things you throw in your logs. I would like to find out about all types of software that does some type of logging, everything ranging from desktop apps to servers. Thanks
|
|
|
|
|
Generally speaking, I use logs for open fires and camping.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Quote: open fires
I imagine you use logs made of wood to keep the fire burning and (for) other leasure activities around the camp.
|
|
|
|
|
If they are big enough, you can sit on them as well!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
camping or trip chairs and tents are my favorites.
modified 2hrs 20mins ago.
|
|
|
|
|
If you are camping by car, then yes. But on a bike, A tent is a necessity (and the rest of the space is free for food and beer)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
We do a lot of ETL work. Each ETL task takes a different amount of time. We use the logs to calculate the average time for each task to aid in scheduling the next run -- and thereby perform the historically longest-running tasks first.
Similarly, we track record counts and signal an error if a record count falls outside the expected range ( +/- some factor).
|
|
|
|
|
Thanks Piebaldconsult I had to check online the ETL abbreviation for its meaning. That`s field I wasn`t familiar with.
|
|
|
|
|
This is such an insanely huge topic of discussion.
Here's what we do:
- Every exception thrown in our code gets logged
- When we fix a bug that's due to odd input or conditions we generally log the odd condition up to the point where it's common enough we feel we have a handle on it's many guises
- When there's a spot where the code simply cannot, ever, in a million years be reached, and it's reached, we log it.
- When there are failures of external services we might log them in order to work out what conditions will cause it to fail so we can work on preemptively not causing those conditions
- When conditions in our app become extreme (eg serious user load, serious queue back-ups etc) we log them
Some of these logs are for debugging, some for planning, some of these logs are used to trigger alerts, and some for our own amusement.
cheers
Chris Maunder
|
|
|
|
|
Don't you just wish you could have a loonie for every time bullet point 3 has happened?
Shoot, I could have wound up chasing Elon Musk in the Forbes 500. 
|
|
|
|
|
I know, right? And you stare and you stare, and you run every test and scenario and it's simply, positively, absolutely impossible.
And blip. Another log entry pops up.
cheers
Chris Maunder
|
|
|
|
|
Wasteful flip - or twist portcullis? (10)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Profligate ?
Edit
Anagram of flip or and gate (portcullis)
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
modified 14hrs ago.
|
|
|
|
|
I liked that one - you are up tomorrow!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Yes nice clue
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Morning Paul - will there be one today ?
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
I was planning on doing one, yes.
Just not quite yet ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 380 4/6
⬜⬜⬜🟩⬜
🟩⬜⬜🟩🟩
🟩⬜🟨🟩⬜
🟩🟩🟩🟩🟩
Slightly delayed because I am travelling. There is intermittent net coverage.
|
|
|
|
|
Close one!
Wordle 380 5/6
⬜⬜⬜🟩⬜
🟨⬜⬜🟩🟨
🟩⬜⬜🟩🟩
🟩🟩⬜🟩🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 380 6/6
⬜⬜🟨⬜⬜
⬜🟨⬜⬜🟨
⬜⬜⬜⬜⬜
⬜🟨🟨🟨⬜
🟩⬜🟨🟩⬜
🟩🟩🟩🟩🟩
Just snuck in...
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Wordle 380 3/6
⬜⬜⬜🟩⬜
🟨🟩⬜🟩⬜
🟩🟩🟩🟩🟩
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 380 3/6*
⬜⬜⬜⬜⬜
🟩⬜⬜⬜⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 380 4/6*
⬜⬜🟨🟨⬜
🟩🟩⬜🟨⬜
🟩🟩⬜⬜🟩
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|