4 ms·
> Instead of building on those unique strengths, Apple has provided token support which must leave even its own engineers wishing for better, as they wade throu
by saagarjha 6y ago
> Instead of building on those unique strengths, Apple has provided token support which must leave even its own engineers wishing for better, as they wade through the logarchives supplied in sysdiagnose dumps.
Lol, no. Unified log was designed first and foremost for Apple engineers and through some convoluted series of events that I am evidently not privy to ended up becoming exposed to developers as well. Except it was pretty much useless to developers because they couldn’t figure out how to use it. And not because the tools to use it effectively weren’t there, no, not at all; Apple engineers rely on them heavily (there are private, easy to use frameworks to work with log archives; the new, public OSLog framework that came out last year has an admittedly useful subset). No, the problem was that nothing was documented, most of the stuff that Apple was using to parse the logs and reassemble them remained private, and without these it’s hard enough to slog through the log stream let alone when you compound it with the many idiosyncrasies like private logging or trying to figure out which subsystem things are coming from. Really, Console is just the cherry on top because it gets even less love that logging guts itself because nobody has to use it internally.
- barrkel 6y agoThere's a certain kind of arrogance that comes from assuming that proles - I mean end users - couldn't possibly understand our technical logs, and if they have a problem they should come to us, or wait until we've analyzed the telemetry and pushed a fix. Quite frequently, logs show up things like missing files and directories, incorrect permissions, unexpected configurations etc. which can be fixed by a sufficiently technical end user, without needing to go through support. There's a similar problem with error dialogs. Product people always push to keep technical details out of those dialogs, even if technical users would find the details useful for accomplishing their goals, figuring out what went wrong and working around it. It's more forgiveable for dialogs, as long as there are logs. When the logs are similarly indigestible, the software is simply less usable by technical users. Quality better be damn high, because if it breaks, and there's no way to look into the hard shiny shell, it can generate an amazing amount of frustration to people who are used to making stuff work. (Of course the % of users who are sufficiently technical is decreasing all the time.)
- yjftsjthsd-h 6y ago> There's a similar problem with error dialogs. Product people always push to keep technical details out of those dialogs, even if technical users would find the details useful for accomplishing their goals, figuring out what went wrong and working around it. Lol, yes; the number of times I've seen a message to the effect of "Something broke. Contact your system administrator.", and I stare at it, and I mutter "I am the sysadmin, you stupid machine!" is excessive.
- saurik 6y agoI will also note that leaving technical information in dialog boxes is better even for non-technical "end" users, as it isn't like the app worked anyway (so the user isn't satisfied right now) and it allows those users to screenshot the dialog and show it to their friends or paste it to a forum and have other people help them (which I have seen people do constantly with my error messages, into which I always provide the most low-level raw/useful technically information I can about the error).
- ci5er 6y agoI've always been baffled by this. Especially in pop-up dialog boxes, you can have drop-down arrows hiding the ugly bits (but that said, a core dump is usually not that useful). I always thought: "Something Happened" might be the worst, ever, but I recently came upon this when setting up a Dell Desktop running Windows 10, trying to use a wireless keyboard. (I learned to always keep a USB keyboard around for bootstrapping purposes): - "No keyboard detected, press any key to continue…."
- jayd16 6y agoDo you care to explain the best way to use these logs seeing as we're holding it wrong?
- arcticbull 6y agoTo be fair, for as long as I worked at Apple, there was one dude who maintained Terminal, and I'm pretty sure it was his side-hobby. Nice guy! Name escapes me at the moment.
- saagarjha 6y agoIIRC there were a handful of people that basically maintained all of the /Applications/Utilities (now /System/Applications/Utilities) together. Maybe half an engineer for Console?
- _qulr 6y agoIt's disappointing that they dumped Network Utility on macOS 11. That app is in my Dock!
- jshier 6y agoIsn't the "Single Responsible Individual" practice fairly common at Apple? That is, maybe one person "responsible" for some specific class, app, or system, in addition to day to day work? I've read about the maintainers of things like NSOperation or the iOS Simulator, which always shocked me, given the complexity of those systems. If that's the case, it's completely unsurprising to me that Apple may have a software quality issue.
- vlovich123 6y agoWhen I worked at Apple ~7 years ago on iOS I recall pulling up Console all the time. There are a lot more tools but not really for log analysis. Don’t know if that’s changed since but most of the internal tools were around really deep introspection (eg plotting power against various events on the system, etc) rather than logging itself
- saagarjha 6y agoI mean Console works if you know what you’re looking for and how to filter out the junk. But in my experience people at Apple usually know the right subsystem and stuff and sometimes projects will even have the right log incantation for you to paste so you can just use that. I should also note that the new Console is ~4 years old, so there’s a chance you didn’t use it much ;)
- vlovich123 6y agoI was using a mac pretty regularly until last year. I don't recall the Console app changing that much.