You are not logged in.
Pages: 1
Keeping track of packages can be hard, so I imagine a flag for pacman that would allow the user to type a message to be timestamped and logged.
Then the /var/log/pacman.log could look something like:
[2014-03-26 00:32] [PACMAN] Running 'pacman -S kdeconnect'
[2014-03-26 00:32] [JAMEH] Install app for hooking up android device
[2014-03-26 00:32] [PACMAN] installed kdeconnect (0.5.1-1)
Life is very short, and there's no time for fussing and fighting, my friends.
Offline
What do you want to keep track of? Recently installed appliactions? Wouldn't "cat /var/log/pacman.log | grep installed" do the trick? Should filter everything pretty nicely.
Offline
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
Why not just a script or shell function:
echo "$(date "+[%Y-%M-%d %H:%M]") [$(whoami)] $@" >> /var/log/pacman.log
Use as `<scriptname> your message here`.
Last edited by Trilby (2014-03-26 15:45:56)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Pages: 1