Examples of Facility


Examples of org.apache.logging.log4j.core.net.Facility

            } else {
                LOGGER.error("Charset " + charset + " is not supported for layout, using " + c.displayName());
            }
        }
        boolean includeNewLine = includeNL == null ? false : Boolean.valueOf(includeNL);
        Facility f = facility != null ? Facility.valueOf(facility.toUpperCase()) : Facility.LOCAL0;
        return new SyslogLayout(f, includeNewLine, c);
    }
View Full Code Here

Examples of org.apache.logging.log4j.core.net.Facility

        final Charset charset = Charsets.UTF_8;
        if (includes != null && excludes != null) {
            LOGGER.error("mdcIncludes and mdcExcludes are mutually exclusive. Includes wil be ignored");
            includes = null;
        }
        final Facility f = Facility.toFacility(facility, Facility.LOCAL0);
        final int enterpriseNumber = Integers.parseInt(ein, DEFAULT_ENTERPRISE_NUMBER);
        final boolean isMdc = Booleans.parseBoolean(includeMDC, true);
        final boolean includeNewLine = Boolean.parseBoolean(includeNL);
        final boolean useTlsMessageFormat = Booleans.parseBoolean(useTLSMessageFormat, false);
        if (mdcId == null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.