On 07/09/2018 07:03 PM, Dmitry Kudriavtsev wrote:
Though honestly, if you're scripting this it boggles my mind that you don't want to preserve standard output in logs that you aren't looking at unless something bad happens, in which case you want as much information as possible...
Don't the transactions still get logged in the system locs if the UseSyslog preference is enabled?
It does get logged to pacman.log, but those logs record transactions and not e.g. runtime warnings for ignored packages, inconsistent/missing files, prompts to replace one package with another via conflicts or replaces, etc. I guess you could stitch together a proper view of what happened, if you really needed to... just logging output seems wiser though. -- Eli Schwartz Bug Wrangler and Trusted User