Added support for the LOG_PREFIX environment variable.