So I use the 'logger' command a lot in my scripts to log useful info and errors.
Before Sierra I could log something to syslog like this
logger -s -p local0.notice -t my_script "Some message to log"
And you could find that message in /var/log/system.log by doing this
grep my_script /var/log/system.log
Now with 10.12 the logger command doesn't log to system.log any more and uses this new unified logging system
Now there's the 'log' command that you can use to query the unified logging system and you can search for text in messages but I can't find anyway to search on the tags (-t option in logger)
Has anyone come up with method of logging info in scripts that can be easily searched for 10.12?
