Examples of ILogService


Examples of net.sf.redmine_mylyn.common.logging.ILogService

          }
        }
      }
     
    } catch (NullPointerException e) {
      ILogService log = RedmineUiPlugin.getLogService(getClass());
      log.error(e, Messages.ERRMSG_CANT_FILL_MARKAS_MENU);
    } catch (CoreException e) {
      ILogService log = RedmineUiPlugin.getLogService(getClass());
      log.error(e, Messages.ERRMSG_CANT_FILL_MARKAS_MENU);
    }
   
    return statusMap;
  }
View Full Code Here

Examples of net.sf.redmine_mylyn.common.logging.ILogService

            model.save(new NullProgressMonitor());
          }

                   
        } catch (CoreException e) {
          ILogService log = RedmineUiPlugin.getLogService(getClass());
          log.error(e, Messages.ERRMSG_CANT_SET_ATTRIBUTE_VALUE_X, attributeName);
        }
      }
    }
  }
View Full Code Here

Examples of net.sf.redmine_mylyn.common.logging.ILogService

        JAXBContext ctx = JAXBContext.newInstance(getClass());
        Marshaller m = ctx.createMarshaller();
        m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE );
        m.marshal(this, out);
      } catch(JAXBException e) {
        ILogService log = RedmineApiPlugin.getLogService(JaxbParser.class);
        RedmineApiErrorException exc = new RedmineApiErrorException(Messages.ERRMSG_CONFIGURATION_SERIALIZATION_FAILED, e);
        log.error(e, exc.getMessage());
        throw exc;
      }
    }
  }
View Full Code Here

Examples of net.sf.redmine_mylyn.common.logging.ILogService

        ctx.reset();
        ctx.putProperty("rmc.logfile", path.toString()); //$NON-NLS-1$
       
        configurator.doConfigure(getClass().getResourceAsStream("/logback.xml")); //$NON-NLS-1$
      } catch (JoranException e) {
        ILogService logService = LogServiceImpl.getInstance(RedmineCommonPlugin.getDefault().getBundle(), LogWriter.class);
        logService.error(e, "Logback configuration failed"); //$NON-NLS-1$
      }
    }
  }
View Full Code Here

Examples of net.sf.redmine_mylyn.common.logging.ILogService

        if(field!=null) {
          try {
            setValue(taskAttribute, field.get(issue));
          } catch (Exception e) {
            IStatus status = RedmineCorePlugin.toStatus(e, Messages.ERRMSG_CANT_READ_PROPERTY_X, redmineAttribute.name());
            ILogService log = RedmineCorePlugin.getLogService(IssueMapper.class);
            log.error(e, status.getMessage());
            throw new CoreException(status);
          }
        } else {
          switch (redmineAttribute) {
          case WATCHERS:
View Full Code Here

Examples of net.sf.redmine_mylyn.common.logging.ILogService

              }
            }
          }
        } catch (Exception e) {
          IStatus status = RedmineCorePlugin.toStatus(e, Messages.ERRMSG_CANT_READ_PROPERTY_X, redmineAttribute.name());
          ILogService log = RedmineCorePlugin.getLogService(IssueMapper.class);
          log.error(e, status.getMessage());
          throw new CoreException(status);
        }
      }
    }
  }
View Full Code Here

Examples of org.eclipse.orion.server.logs.ILogService

  @Override
  public boolean handleRequest(HttpServletRequest request,
      HttpServletResponse response, IPath path) throws ServletException {

    ILogService logService = LogsActivator.getDefault().getLogService();
    if (logService == null)
      /* unsupported functionality */
      return false;

    switch (getMethod(request)) {
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.