Add logging to pacman (setup is in main projects' main.py).
Minor changes.