Package com.sos.JSHelper.Logging

Examples of com.sos.JSHelper.Logging.Log4JHelper


  public static void tearDownAfterClass() throws Exception {
  }

  @Before
  public void setUp() throws Exception {
    objLogger = new Log4JHelper("./log4j.properties"); //$NON-NLS-1$
    objE = new JSBatchInstaller();
    objE.registerMessageListener(this);
    objOptions = objE.Options();
    objOptions.registerMessageListener(this);
   
View Full Code Here


   */
  public final static void main(String[] pstrArgs) {

    final String conMethodName = conClassName + "::Main"; //$NON-NLS-1$

    objLogger = new Log4JHelper("./log4j.properties"); //$NON-NLS-1$

    logger = Logger.getRootLogger();
    logger.info("JSBatchInstaller - Main"); //$NON-NLS-1$

    try {
View Full Code Here

   */
  public final static void main(String[] pstrArgs) {

    final String conMethodName = conClassName + "::Main"; //$NON-NLS-1$

    objLogger = new Log4JHelper("./log4j.properties"); //$NON-NLS-1$

    logger = Logger.getRootLogger();
    logger.info("JSReportAllParameters - Main"); //$NON-NLS-1$

    try {
View Full Code Here

  public static void tearDownAfterClass() throws Exception {
  }

  @Before
  public void setUp() throws Exception {
    objLogger = new Log4JHelper("./log4j.properties"); //$NON-NLS-1$
    objE = new JSBatchInstaller();
    objE.registerMessageListener(this);
    objOptions = objE.Options();
    objOptions.registerMessageListener(this);
View Full Code Here

   */
  public final static void main(String[] pstrArgs) {

    final String conMethodName = conClassName + "::Main"; //$NON-NLS-1$

    objLogger = new Log4JHelper("./log4j.properties"); //$NON-NLS-1$

    logger = Logger.getRootLogger();
    logger.info("JobSchedulerCheckRunHistory - Main"); //$NON-NLS-1$

    try {
View Full Code Here

      super.spooler_process();
      // TODO �ber eine Option steuern. Die auch in die Standard-Option-Class aufnehmen
      String strJobName = this.getJobName();
      strJobName = strJobName.replace('/', '-'); //$NON-NLS-1$
      Log4JHelper.flgUseJobSchedulerLog4JAppender = true;
      objLogger = new Log4JHelper("./" + strJobName + "-log4j.properties"); //$NON-NLS-1$

      logger = Logger.getRootLogger();

      JobSchedulerLog4JAppender objJSAppender = null;
      /**
 
View Full Code Here

  public final static void main(String[] pstrArgs) {

    @SuppressWarnings("unused")
    final String conMethodName = conClassName + "::Main"; //$NON-NLS-1$

    objLogger = new Log4JHelper("./log4j.properties");
   
    logger = Logger.getRootLogger();
    SOSDataExchangeEngineMain objEngine = new SOSDataExchangeEngineMain();
    objEngine.Execute(pstrArgs);
View Full Code Here

  }

  private void Execute(String[] pstrArgs) {

    final String conMethodName = conClassName + "::Execute";
    objLogger = new Log4JHelper("./log4j.properties"); //$NON-NLS-1$
    logger = Logger.getRootLogger();
   
    logger.info(getMsg(SOSDX_Intro)); //$NON-NLS-1$

    try {
View Full Code Here

  public final static void main(String[] pstrArgs) throws Exception {

    final String conMethodName = conClassName + "::Main"; //$NON-NLS-1$

    // TODO �ber eine Option steuern. Die auch in die Standard-Option-Class aufnehmen
    objLogger = new Log4JHelper("./log4j.properties"); //$NON-NLS-1$

    logger = Logger.getRootLogger();
    logger.info("SOSSSHJob2 - Main"); //$NON-NLS-1$
    logger.info("User-Dir : " + System.getProperty("user.dir"));   //$NON-NLS-1$
View Full Code Here

TOP

Related Classes of com.sos.JSHelper.Logging.Log4JHelper

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.