Customize log level of data using Logback

One of the new features of the TIBCO BW 6.1 environment is the change of the logging API. We are not using the old and good Log4J API but the new LogBack API.

Whoevers want to get more information about the new Logback architecture can have a look to the official website: http://logback.qos.ch/ but today we are going to talk about the posibility to change the detailed log information in our local tests.

When we run a Eclipse Run Configuration (or a Eclipse Debug Configuration) one of the option is the XML configuration file of the logback logger we are going to use. The default value is:

<TIBCO_HOME>\bw\6.1\config\design\logback\logback.xml

LogBack

We also have another file in that folder, with the name logback_debug.xml. If we use these we have all the debug information for all the loggers we have in action in our local test, but we could create a custom logback configuration file to meet our needs.

logback2

Use this information wisely!

Advertisements

One thought on “Customize log level of data using Logback

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s