- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
Oh! NOW I get it.
Admin
Admin
Admin
Admin
Simple little app dealing with large quantities of data.
Admin
Or doing simple tasks thousands or millions of times a day.
Admin
Admin
If you don't have an easy way to tell where everything is, it's a WTF.
I'm a DevOps type -- and all the infrastructure I deploy has a query interface; you can easily ask for "role:memcache" or "role:cluster_foo" and get a list of who's where. Moreover, we have central log shipping and management, and our developers (who don't have access to the production servers themselves) can query those logs without help.
...so yeah, not having any documentation or query interface or centralized logging, and relying on just one person who knows where everything is (and trusting that they won't get fired / quit / get hit by a bus) is very much a WTF.
Admin
Admin
Admin
No, moron. You only email the daily log not the complete log.
CAPTCHA - opto: It's opto whether you then delete the log file once you email it and only store a daily log.
Admin
And his Indlish is nice, too
Admin
Could it be XML?
Admin
Real programmers don't use log files. Real programmers use core dumps.
Admin
Wouldn't it have been faster to just search one server after another than to run after those IT guys? Surely in three days you can go over quite a few servers...
They searched Server 1, 7, 2, 5 and probably 3 before finding it on 4. They could have saved them self a lot of running around.
Also 700KB of logs per day? Respect...
Admin
I'm doing science and I'm still alive. Still alive, Still alive.
Admin
Sounds like Software Health IT good practice indeed: every morning after the coffee, you dump a core and attach it to an email you send to the whole company. Or you wrap it in a nice xls file and put it right there one the corporate Sharepoint where everyone can see it.
Admin
Another solution is mandatory log-messages (SVN has an option to have a minimum number of characters), or a commit-hook that checks the log message formatting :)
Admin
All of this is well and good, but as a best practice when dealing with potentially large logs, the app should roll the log over to a new file once per day. Then you can keep 30 days worth of log files and never worry about them.
The rest, well, sounds like process for process sake. Why have all the bureaucracy if, in the end, nothing is documented adequately, and you have to call the only guy (a single point of failure) that knows where the documentation and program is?
If you're going to fly by the seat of your pants, you might as well get rid of the rest of the process-for-process-sake. It exists for a reason and needs to be followed by everyone, or don't waste your time.
JM2c,
Shea
Admin
The WTF is writing an application whose log messages or "I am alive" messages did not include a server name in the first place. Every time I see a "could not connect to database server" message I curse at the developer who didn't make the application spit out the name of the server it thinks it has to connect to.
Admin
Admin
IIRC, exchange does add proper received headers for messages received via SMTP, not via crazy-activesync-connection.
Admin
Who doesn't think to include the machine name in their status and exception emails? Oh well, lesson learned.
Admin
Admin
Admin
Admin
Admin
Admin
Admin
Admin
Admin
Stop. Your doing it on purpose.
Admin
Admin
Admin
Admin
Says a member of a group of twenty-something virgins who sit on IRC and take turns trolling SO and TDWTF comments.
Admin
S&H IT folks sounds like shit folks
Admin
In which country do you work?
Learning that you guys won't know which particular server sent an error when you receive the message isn't exactly reassuring.
Admin
Admin
Admin
Well, eeexcuuuuse meeeeee. Don't most job descriptions for senior software engineers have a bullet that reads something like "a wide degree of creativity and latitude is expected"?
BTW- I'm pretty sure implying prtinting the hostname of a machine in a log file that you most like designed yourself will not cause death. I'm also pretty sure that implying it would is some sort of logical fallacy.
Admin
Admin
Admin
Putting the host name of the machine in the log file won't help you find out which machine the log file is on. So I guess you actually meant "including the hostname of the machine in the email" - which is a good idea in hindsight.
If, however, you expect your app to be installed and run on a specific named server, and you don't expect it to be moved without notification, then adding the hostname to the email just wouldn't seem a particularly necessary thing to do.
Admin
The log file could have been hardcoded to a specific file server. It seems likely in this case, since they didn't have to retrieve multiple log files.
Admin
I only have one more bathroom break allowed today, it will have to last me another 7 hours. Last week I had a bad curry and had to use my rubbish bin because I could not use the bathroom any more. But I coded a record amount! The company owners were so impressed they are going to start installing toilets in cubicles now so we can get even more work done and never have to leave! Soon we will drive all the USA coders out of business, they will never be able to compete with us!
You went to snack at work? I am reporting you!Admin
Oh hello there, you must be a manager.
Admin
Aha, all makes sense now. "Eugh, we don't want him." (boot) "Zut, il est un poop du nincom, nous ne le voulons pas ..." (boot) "Achtung, ein scheisskopf!" (boot) "Argh, va fan culo ..." (boot) ... etc.
Admin
You really should think of it as a WTF I'm afraid.
You can point your /network/admin directory at a shared location using environment variables, and have as many people as you want share the same sqlnet.ora and tnsnames.ora.
None of that will prevent TRWTF being Oracle of course though