German English
German English

signoPAD-API Java - Configuration

logging.properties

The signoPAD-API Java uses the Java standard logger (java.util.logging) and can either be integrated and configured by other logging frameworks or configured directly by specifying a configuration file. An example of this file is included with the Java installation and the API delivery package in the /conf folder.

/conf/logging.properties

The sample applications in the /sample folder show how to use the configuration file by having the startup scripts set the file path in the java.util.logging.config.file system property.

Bash
> java -Djava.util.logging.config.file=conf/logging.properties

The native component in stpad-lib.jar used by the SigPadFacade uses its own logging mechanism, which is set via the signopadapi.properties.

signopadapi.properties

Selected settings of the signoPAD-API Java can be specified via an optional configuration file. A template with all the settings is included in the API delivery package.

/conf/signopadapi.properties

The file can be used in two ways.

  1. Save the file as signopadapi.properties in the classpath, from where it will be loaded automatically.

  2. Use the system property de.signotec.signopadapi.config.file to specify the location of the file in the file system.

Bash
> java -Dde.signotec.signopadapi.config.file=/path/file.properties