Package org.openxdas.log4j

Examples of org.openxdas.log4j.XDasAppender


    public static void main(String[] args)
    {

        BasicConfigurator.configure();
        //LOGGER.setLevel(Level.DEBUG);
        XDasAppender xdasAppender = new XDasAppender();

        XDasRecord rec = null;
        try {
            xdasAppender.setXDasSession(
                    "JavaOrigLoc:JavaOrigAddr:JavaOrigService:JavaOrigAuth:JavaOrigPrincipal:JavaOrigPrincipalId");
            //Add the appender to a category
            LOGGER.addAppender(xdasAppender);
            LOGGER.debug("XDaslogging successfully initialized");
        } catch (SocketException e) {
View Full Code Here

TOP

Related Classes of org.openxdas.log4j.XDasAppender

Copyright © 2018 www.massapicom. 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.