Package org.olat.core.logging

Examples of org.olat.core.logging.LogRealTimeViewerController


       
      } else if (event.getCommand().equals(ACTION_VIEWLOG)) {
        String toBeViewed = ureq.getParameter(ACTION_VIEWLOG_PACKAGE);
        if (toBeViewed == null) return; // should not happen
        if (logViewerCtr != nulllogViewerCtr.dispose();
        logViewerCtr = new LogRealTimeViewerController(ureq, getWindowControl(), toBeViewed, Level.ALL, true);
        if (cmc != nullcmc.dispose();
        cmc = new CloseableModalController(getWindowControl(), getTranslator().translate("close"), logViewerCtr.getInitialComponent());
        cmc.addControllerListener(this);
        cmc.activate();
      }
View Full Code Here


    // Create start LDAP sync link
    syncStartLink = LinkFactory.createButton("sync.button.start", ldapAdminVC, this);
    // Create start delete User link
    deletStartLink = LinkFactory.createButton("delete.button.start", ldapAdminVC, this);
    // Create real-time log viewer
    LogRealTimeViewerController logViewController = new LogRealTimeViewerController(ureq, control, "org.olat.ldap", Level.INFO, true);
    listenTo(logViewController);
    ldapAdminVC.put("logViewController", logViewController.getInitialComponent());
    //
    putInitialPanel(ldapAdminVC);
  }
View Full Code Here

TOP

Related Classes of org.olat.core.logging.LogRealTimeViewerController

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.