Simples Assim

Posts Tagged ‘Logging

How to Change the Log Level of upic-openedge 1.0 in Apache ServiceMix

leave a comment »

1) Add the following line to <Install Dir>/etc/org.ops4j.pax.logging.cfg:

log4j.category.upic-openedge=WARN

2) Restart the ESB.

https://github.com/upictec/upic-openedge/

Written by Fernando Ribeiro

November 20, 2011 at 11:38 pm

Improvement to SLF4J 1.6.2

leave a comment »

Written by Fernando Ribeiro

September 4, 2011 at 6:53 pm

Posted in Software

Tagged with

Logging with JBossAS

leave a comment »

Written by Fernando Ribeiro

February 18, 2009 at 2:06 pm

Posted in Software

Tagged with

We are in the Russian Wikipedia

leave a comment »

Wow, this is fun.

Written by Fernando Ribeiro

January 29, 2009 at 12:52 am

Posted in Software

Tagged with

Using Apache Commons Logging or Log4j with Custom Services

leave a comment »

Written by Fernando Ribeiro

October 21, 2008 at 9:56 pm

Posted in Software

Tagged with ,

log4j Roadmap

leave a comment »

However, it doesn’t seem likely that log4j 1.3 will ever been sufficiently compatible with log4j 1.2 to recommend it as a general replacement for log4j 1.2.

Oh, really?

[log4j 2.0] would include a facade that emulates the log4j 1.3 API but would not be compatible with user written appenders and other components.

What do the dogged open-source advocates have to say?

http://logging.apache.org/log4j/docs/plan.html

Written by Fernando Ribeiro

May 14, 2007 at 1:34 pm

Posted in Software

Tagged with

My Favorite Logging Packages

leave a comment »

Jakarta Commons Logging, compared to Log Bridge and SLF4J, and log4j, compared to the JUL API, Simple Log, jLo, x4juli and Protomatter Syslog.

Written by Fernando Ribeiro

May 29, 2006 at 12:34 am

Posted in Software

Tagged with

How to Use Protomatter Syslog

leave a comment »

1) Create the SyslogSample.java file:

import com.protomatter.syslog.Syslog;
import com.protomatter.syslog.Syslogger;

public final class SyslogSample {

  public static void main(final String[] args) throws Exception {
    final Syslogger logger = Syslog.getLogger(SyslogSample.class.getName());

    Syslog.info(logger, "Hello World!");
  }

  private SyslogSample() {
  }

}

2) Create the syslog.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<Syslog defaultMask="DEBUG">
  <Logger name="PrintWriterLog.out" class="com.protomatter.syslog.PrintWriterLog">  
    <Policy class="com.protomatter.syslog.SimpleLogPolicy">
      <channels>ALL_CHANNEL</channels>
      <logMask>INFO</logMask>
    </Policy>
    <stream>System.out</stream>
  </Logger>
</Syslog>

3) Compile the SyslogSample.java file.

4) Set the Syslog.config.xml system property to syslog.xml.

5) Launch the SyslogSample class.

http://protomatter.sourceforge.net/

Written by Fernando Ribeiro

May 29, 2006 at 12:24 am

Posted in Software

Tagged with

How to Use x4juli

leave a comment »

1) Create the X4JuliSample.java file:

import java.util.logging.Logger;

public final class X4JuliSample {

  public static void main(final String[] args) {
    final Logger logger = Logger.getLogger(X4JuliSample.class.getName());

    logger.info("Hello World!");
  }

  private X4JuliSample() {
  }

}
2) Compile the X4JuliSample.java file.

3) Set the java.util.logging.manager system property to org.x4juli.X4JuliLogManager.

4) Launch the X4JuliSample class.

http://www.x4juli.org/

Written by Fernando Ribeiro

May 25, 2006 at 10:46 pm

Posted in Software

Tagged with

LOGBack

leave a comment »

The next generation of log4j.

http://logback.qos.ch/

Written by Fernando Ribeiro

May 25, 2006 at 10:18 pm

Posted in Software

Tagged with

Follow

Get every new post delivered to your Inbox.

Join 784 other followers