Example

You can use this very simple example shows how to log an NLS message based on a properties file to the standard IBM® Security Directory Integrator server log (miserver).

It is assumed that "XXX.properties" is packaged with the code.

Contents of "XXX.properties":
my.resource.id= Hello World
import com.ibm.di.server.Log;

public class XXX() {
	public XXX() {
		this.log = new Log("miserver";, "XXX");
		this.log.info("my.resource.id");
	}
}
The above should result in a log message "Hello World" written to the IBM Security Directory Integrator server log.