#StackBounty: #macos #google-chrome #logging Redirect GoogleSoftwareUpdateAgent Logging

Bounty: 50

I am debugging an issue on my Mac and I am therefore looking through the system logs. One thing I have noticed is the extreme abundance of multi-line messsages from GoogleSoftwareUpdateAgent like the one below:

Jan 13 15:47:55 <<Computer Name>> GoogleSoftwareUpdateAgent[10829]: 2019-01-13 15:47:55.765 GoogleSoftwareUpdateAgent[10829/0x700009887000] [lvl=2] -[KSEngineInvocation(KeystoneThread) updateProdu
   ticketStore=<KSPersistentTicketStore:0x7fd3e64284c0 store=<KSKeyedPersistentStore:0x7fd3e641b530
       path="/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore"
       lockFile=<KSLockFile:0x7fd3e6428110
           path="/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore.lock"
           resolvedPath="/Library/Google/GoogleSoftwareUpdate/TicketStore/Keystone.ticketstore.lock"
           shared=NO       fileSpecificLock=0x7fd3e6414d30>
       keyType=NSString
       valueTypes={(
           KSTicket
       )}
   >>
   processor=<KSActionProcessor:0x7fd3e660d830
       delegate=<KSDaemonUpdateEngine:0x7fd3e88019b0>
       isProcessing=NO actionsCompleted=0 progress=0.00
       errors=0 currentActionErrors=0
       events=0 currentActionEvents=0
       actionQueue=( )
   >
   delegate=<KSEngineInvocation: 0x7f8461727f30>
   serverInfoStore=(null)
   errors=0

This adds a ton of clutter to the system log files and makes it much more difficult to find what I am looking for. Is there a way I can redirect all the logging from GoogleSoftwareUpdateAgent to its own log file instead of system.log? How would I do it?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.