update lib/logging