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.
> 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.
-
Save the file as
signopadapi.propertiesin the classpath, from where it will be loaded automatically. -
Use the system property
de.signotec.signopadapi.config.fileto specify the location of the file in the file system.
> java -Dde.signotec.signopadapi.config.file=/path/file.properties