Improved logging backend.