In macOS Sierra I'm noticing a very "chatty" and repetitive series of warnings in the console, like this:
default 15:27:23.330990 -0700 AppleIDAuthAgent switching to keychain-db: /Users/XYZ/Library/Keychains/login.keychain-db from /Users/XYZ/Library/Keychains/login.keychain-db (0 1 1 1)
where dozens of processes are all logging the same "switching to keychain-db" message over and over again. These messages are coming from AppleIDAuthAgent, authd, secinitd, lcd, Finder, gamed, Mail, cloudd, and on and on.
Not only that, but notice in the log message it's switching from and to the exact same file and path. The entire thing makes no sense. Anyone know what this is all about?
(Edit: As of March 2018, I'm now running High Sierra 10.13.3 and no longer are these messages appearing in my console.)
Best Answer
I wouldn't worry about chatty messages in general as the logging subsystem is now database driven and can handle thousands of messages a minute with little or no load on the system.
You can get a nice overview of your log statistics and see if this is truly one of the larger users of logging. This command does take a while to chew throat the 30 million events I have on my MacBook (3 to 5 minutes) - but even that is a trivial load on my system in practice given how optimized and power efficient Apple macOS logging is now.
For context - this machine runs beta software often - gets beat up in all manner of ways, Xcode, buggy apps, beta versions of Microsoft Office, beta OS with enhanced logging profiles.