Setting Parameters For Logging - Intermec IF5 User Manual

Fixed reader
Hide thumbs Also See for IF5:
Table of Contents

Advertisement

Element
GPIOValue.green
GPIOValue.yellow
GPIOValue.red

Setting Parameters for Logging

IF5 Fixed Reader User's Manual
Appendix B — Configuring and Using the SAP Device Controller
Default
Description
-
(Optional) Sets the value of the GPIO output lines in
response to a GREEN ExtensionCommand.
-
(Optional) Sets the value of the GPIO output lines in
response to a YELLOW ExtensionCommand.
-
(Optional) Sets the value of the GPIO output lines in
response to a REDExtensionCommand.
Note: To handle custom ExtensionCommand strings, more
GPIOValue.xxx properties can be added. The command string
name must be in lowercase characters in the .xml file.
For example, to make the controller respond to a BUZZER
ExtensionCommand by setting GPIO output lines to 7, add this
property:
GPIOValue.buzzer=7
The SimpleDevice.property file sets parameters for logging. The
SAP device controller uses the SAP logging API. There are two
types of logs:
• Traces (LOCATION), for developers to use when debugging
• Logs (CATEGORY), for administrators monitoring regular
operation
You can define a log level and format for each type. Logging can
be done to the console, a file, or both. You can also log to a
rotating set of files instead of a single file.
For the IF5 SAP device controller, Intermec recommends using
the /tmp directory (or a subdirectory thereof ) for best
performance.
The next example shows a sample SimpleDevice.property file.
URL=file:config/SDCConfiguration.xml
LOCATION_LEVEL=ALL
LOC_TYPE=BOTH
LOC_FILENAME=/tmp/dc%g.trc
LOC_MAXFILESIZE=32000
LOC_NO_OF_FILES=10
LOC_FORMATTER=TRACE
CATEGORY_LEVEL=NONE
CAT_TYPE=FILE
151

Advertisement

Table of Contents
loading

Table of Contents