core: use env variable instead of config var to turn on logging pack access