Package org.eclipse.orion.server.logs.objects

Examples of org.eclipse.orion.server.logs.objects.RollingFileAppenderResource.toJSON()


      if (rollingFileAppender.getArchivedLogFiles() == null)
        LogUtils.attachArchivedLogFiles(appender, rollingFileAppender,
            logService);

      return new ServerStatus(Status.OK_STATUS,
          HttpServletResponse.SC_OK, rollingFileAppender.toJSON());

    } catch (Exception e) {
      String msg = NLS.bind(
          "An error occured when looking for rolling appender: {0}",
          appenderName);
View Full Code Here


        if (rollingFileAppender.getArchivedLogFiles() == null)
          LogUtils.attachArchivedLogFiles(appender,
              rollingFileAppender, logService);

        appendersJSON.append(ProtocolConstants.KEY_CHILDREN,
            rollingFileAppender.toJSON());
      }

      return new ServerStatus(Status.OK_STATUS,
          HttpServletResponse.SC_OK, appendersJSON);
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.