PUBLIC void mprDefaultLogHandler(cchar *tags, int level, cchar *msg)
{
    MprFile     *file;
    char        tbuf[128];
    static int  check = 0;

    if ((file = MPR->logFile) == 0) {
        return;
    }
    if (MPR->logBackup && MPR->logSize && (check++ % 1000) == 0) {
        backupLog();
    }
    if (tags && *tags) {
        if (MPR->flags & MPR_LOG_DETAILED) {
            fmt(tbuf, sizeof(tbuf), "%s %d %s, ", mprGetDate(MPR_LOG_DATE), level, tags);
            mprWriteFileString(file, tbuf);
        } else if (MPR->flags & MPR_LOG_TAGGED) {
            if (schr(tags, ' ')) {
                tags = stok(sclone(tags), " ", NULL);
            }
            if (!isupper((uchar) *tags)) {
                tags = stitle(tags);
            }
            mprWriteFileFmt(file, "%12s ", sfmt("[%s]", tags));
        }
    }
    mprWriteFileString(file, msg);
    mprWriteFileString(file, "\n");
#if ME_MPR_OSLOG
    if (level == 0) {
        mprWriteToOsLog(sfmt("%s: %d %s: %s", MPR->name, level, tags, msg), level);
    }
#endif
}
NVD is only using a subset of CWE for mapping instead of the entire CWE, and the weakness type is not covered by that subset.