PACLOG(1)
π paclog β PACLOG(1) π
πΈ NAME πΈ
paclog β filters pacman log entries, bestie. Thatβs the whole gig: it sifts through pacman log entries and shows you the ones you asked for. π«Ά
β¨ SYNOPSIS β¨
paclog [options] [filters]...
paclog [options] --pkglist
paclog (--help|--version)
π DESCRIPTION π
okay so hereβs the vibe: if input is provided on stdin, it will be parsed instead of --logfile. Log entries will be displayed if they match any of the provided filters. Any β not all, bestie. That distinction ate. π
To display the intersection of multiple filters, you can connect them by a pipe:
paclog --after=2015-01-01 | paclog --warnings
π οΈ OPTIONS π οΈ
--config=pathβ set an alternate configuration file path. ποΈ--logfile=pathβ set an alternate log file path. π--root=pathβ set an alternate installation root. π±--sysroot=pathβ set an alternate system root. Seepacutils-sysroot(7). π--[no-]colorβ colorize output. By default, output will be colorized ifstdoutis a terminal. π--pkglistβ print the list of installed packages according to the log. π¦--helpβ display usage information and exit. π--versionβ display version information and exit. π·οΈ
π Filters π
--action=actionβ display package operations. action must be one of"install","reinstall","upgrade","downgrade","remove", or"all". π--after=date,--before=dateβ display entries after/before date. If seconds or timezone information is included, it will be silently ignored, allowing output fromdate -Ito be used: π°οΈ
paclog --after "$(date -Iminutes --date '3 days ago')"
--caller=nameβ display log entries from name. May be specified multiple times. Case-sensitive. π--commandlineβ display pacman-style logged commandline entries. β¨οΈ--grep=regexβ display log entries whose message matches regex. π--package=pkgnameβ display logged actions affecting pkgname. May be specified multiple times. π¦--warningsβ display errors, warnings, and notes. π¨
β οΈ CAVEATS β οΈ
tiny heads-up, no cap: paclog determines whether or not to read the log file from stdin based on a naive check using isatty(3). So if paclog is called in an environment β like a shell function or script being used in a pipe β where stdin is not connected to a terminal but there isnβt actually a log file to parse, paclog should be called with stdin closed. For POSIX-compatible shells, this can be done with "<&-". π«Ά
shoutout to pacutils, dated 2025-12-04 β this is PACLOG(1), and itβs iconic. periodt. bye bestie ππ«Ά
π¦ where this page comes from
- arch rolling: pacutils 0.15.0-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms