Package org.slf4j

Examples of org.slf4j.Logger.trace()


    Logger log = ApsSystemUtils.getLogger();
    try {
      ImageMapAttribute currentAttribute = this.getAttribute();
      LinkedArea area = currentAttribute.getArea(this.getElementIndex());
      area.setCoords(this.concatCoords());
      log.trace("SAVED Area " + this.getElementIndex() + " for ImageMap " + currentAttribute.getName());
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "saveArea");
      return FAILURE;
    }
    return SUCCESS;
View Full Code Here


    List<Group> groups = this.getAuthorizationManager().getUserGroups(user);
    Set<String> groupForSearch = this.getGroupsForSearch(groups);
    Iterator<String> iter = groupForSearch.iterator();
    while (iter.hasNext()) {
      String groupName = (String) iter.next();
      log.trace("User " + user.getUsername() + " of group " + groupName);
      int[] eventsForMonthOfGroup = this.searchEventsForMonth(
          requiredMonth, groupName);
      for (int i = 0; i < eventsForMonthOfGroup.length; i++) {
        eventsForMonth[i] = eventsForMonth[i]
            + eventsForMonthOfGroup[i];
View Full Code Here

      HttpServletRequest req = reqCtx.getRequest();
      String jspPath = this.getMainJspPath();
      req.setCharacterEncoding("UTF-8");
      RequestDispatcher dispatcher = req.getRequestDispatcher(jspPath);
      dispatcher.forward(req, resp);
      log.trace("Executed forward to " + jspPath);
      retStatus = ControllerManager.OUTPUT;
    } catch (ServletException t) {
      ApsSystemUtils.logThrowable(t, this, "service", "Error while building page portal");
      retStatus = ControllerManager.ERROR;
      reqCtx.setHTTPError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
View Full Code Here

    Logger log = ApsSystemUtils.getLogger();
    try {
      this.checkBaseParams();
      this.createValuedShowlet();
      this.getPageManager().joinWidget(this.getPageCode(), this.getWidget(), this.getFrame());
      log.trace("Salvataggio showlet - code = " + this.getWidget().getType().getCode() +
          ", pageCode = " + this.getPageCode() + ", frame = " + this.getFrame());
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "save");
      return FAILURE;
    }
View Full Code Here

      if (event.getOperationCode() == AggregatorItemsChangedEvent.INSERT_OPERATION_CODE) {
        int itemCode = event.getItemCode();
        ApsAggregatorItem item = this.getAggregatorManager().getItem(itemCode);
        RssTimerTask timerTask = new RssTimerTask(item, this.getAggregatorManager());
        this.getTimerTaskMap().put(new Integer(itemCode).toString(), timerTask);
        log.trace("jprssaggregator Created new thread: " + itemCode);
        this.startThread(new Integer(event.getItemCode()).toString());
      } else if (event.getOperationCode() == AggregatorItemsChangedEvent.REMOVE_OPERATION_CODE) {
        String taskKey = new Integer(event.getItemCode()).toString();
        RssTimerTask task = this.getTimerTaskMap().get(taskKey);
        task.cancel();
View Full Code Here

      } else if (event.getOperationCode() == AggregatorItemsChangedEvent.REMOVE_OPERATION_CODE) {
        String taskKey = new Integer(event.getItemCode()).toString();
        RssTimerTask task = this.getTimerTaskMap().get(taskKey);
        task.cancel();
        this.getTimerTaskMap().remove(taskKey);
        log.trace("jprssaggregator Removed thread: " + taskKey);
      } else if (event.getOperationCode() == AggregatorItemsChangedEvent.UPDATE_OPERATION_CODE) {
        String taskKey = new Integer(event.getItemCode()).toString();
        RssTimerTask task = this.getTimerTaskMap().get(taskKey);
        task.cancel();
        this.getTimerTaskMap().remove(taskKey);
View Full Code Here

        task.cancel();
        this.getTimerTaskMap().remove(taskKey);
        ApsAggregatorItem item = this.getAggregatorManager().getItem(event.getItemCode());
        RssTimerTask timerTask = new RssTimerTask(item, this.getAggregatorManager());
        this.getTimerTaskMap().put(new Integer(item.getCode()).toString(), timerTask);
        log.trace("jprssaggregator Updating thread: " + taskKey);
        this.startThread(taskKey);
      }
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "updateTasks");
    }
View Full Code Here

    private static <T> void logOperationDetails(ContentSession session, SessionOperation<T> ops) {
        if (readOperationLogger.isTraceEnabled()
                || writeOperationLogger.isTraceEnabled()) {
            Marker sessionMarker = MarkerFactory.getMarker(session.toString());
            Logger log = ops.isUpdate() ? writeOperationLogger : readOperationLogger;
            log.trace(sessionMarker, "[{}] {}", session, ops);
        }
    }


    /**
 
View Full Code Here

        Logger log = getLogger();

        if (level != null) {
            switch (level) {
                case trace:
                    log.trace(message, e);
                    return;

                case debug:
                    log.debug(message, e);
                    return;
View Full Code Here

        Logger log = getLogger();

        if (level != null) {
            switch (level) {
                case trace:
                    log.trace(message, e);
                    return;

                case debug:
                    log.debug(message, e);
                    return;
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.