Revised logging framework.