L
OGGING
O
PTIONS
Application Logging Support
68
E
355/
E
265 U
SER
AND
B
EST
P
RACTICES
G
UIDE
•
Wi-Fi control panel logs are enabled using configuration variable
VXWIFILOG
and filters using
VXWIFIFIL
.
•
Network control panel logs are enabled using configuration variable
VXNCPLOG
and filters specified using
VXNCPFIL
.
•
BT_MGR
application logs are enabled using configuration variable
BTMGRLOG=C
, and value N disables this application logs.
Application
Logging Support
•
Application level software can use standard
dbprintf()
API for adding data
to the system log.
•
Additional OS log library is available for applications to write logs to RAM
memory in a circular buffer of size 1MB.
•
RAM memory logging is faster when compared to FLASH (file based) memory
logging, and it avoids any read disturbance issues in memory.
•
RAM memory logs are erased after e355 restart/power cycle.
•
RAM logs are enabled either by using configuration variable
*APPLOG=1
or by
sending control command G31 with parameter 01.
•
RAM logs are disabled either by using configuration variable
*APPLOG=0
or
by sending control command G31 with parameter 00.
•
RAM logs are retrieved using control command G32 or
*DEBUG
or
*LOG
.
•
Applications can integrate OS log library by linking
logprintf.a
library at
compile time.
•
OS log library provides the following APIs for logging to RAM memory:
•
int logprintf (log_severity severity, const char *fmt ..)
•
void logdump(log_severity severity, char *tag, void *addr,
int len)
Summary of Contents for e265
Page 1: ...Verifone Part Number DOC087 080 EN A Revision A e355 e265 User and Best Practices Guide...
Page 6: ...CONTENTS 6 E355 E265 USER AND BEST PRACTICES GUIDE...
Page 10: ...PREFACE Conventions and Acronyms 10 E355 E265 USER AND BEST PRACTICES GUIDE...
Page 64: ...SYSTEM MODE VTM Software Versions 64 E355 E265 USER AND BEST PRACTICES GUIDE...
Page 70: ...LOGGING OPTIONS logdump 70 E355 E265 USER AND BEST PRACTICES GUIDE...
Page 74: ...SOFTWARE PACKAGE Downloading 74 E355 E265 USER AND BEST PRACTICES GUIDE...
Page 76: ...CONTROL AND BARCODE APPLICATIONS Pipe Interface 76 E355 E265 USER AND BEST PRACTICES GUIDE...