Use logging framework.