Rename `var` to `pkg`; tune logging;