PACLOG(1)

πŸ“¦ version 0.15.0, in arch rolling

πŸŽ€ 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. See pacutils-sysroot(7). 🏠
  • --[no-]color β€” colorize output. By default, output will be colorized if stdout is 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 from date -I to 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