Syslog Messages; Remote Logging; Downloading - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

F
S
ILE
YSTEMS

Syslog Messages

Syslog
Messages
NOTE

Remote Logging

Downloading

26
M
X
800 S
P
ERIES
ROGRAMMERS
x
The M
800 series of terminals supports logging messages generated by
syslog() method calls. These messages are stored in chronological order in the
file system /mnt/sram/. This file system is located in the battery-backed SRAM.
There are up to four file messages that are dependent on the number of
messages that have been logged. When this file reaches the maximum size, the
files are rotated such that message is renamed to messages.1 and a new
messages file is started. If messages.1 already exists, it is renamed to
messages.2, if messages.2 already exists, it is renamed to messages.3, and
if messages.3 exists, it is removed.
Log messages are maintained across boots and power down/up operations.
The syslog daemon on the terminal supports sending the logged messages to a
remote UDP network connection. To enable this feature, there are several
config.usr1 parameters that are required to be set, once the terminal is
rebooted, remote logging will be enabled. The config.usr1 parameters are
described in
Chapter
5. The two parameters that must be specified are
SYSLOG_RHOST and SYSLOG_LOG.
x
The M
800 series will support the following methods for downloading files:
1
Zontalk – Included for compatibility only. The Linux concepts of file ownership,
privileges, and directory paths will not be fully supported under Zontalk. Files
must be converted to .TAR format in order to preserve path and user
information. Zontalk will be implemented in system mode as well as be
available through a shared library.
If files are downloaded without being converted to .tar format, then files with
the .SH, .EXE, and .OUT extensions will automatically have their permissions
set to executable. All other files will be read/write for the owner only. If a file
that is converted to .TAR format is downloaded, permissions will be set
according to what they were at the time the file was archived. After an
expansion of a .TAR file is completed, the ownership for all files contained
within the user's home directory will be set to that users ownership, unless
they are already owned by root. Filenames of downloaded files are currently
limited to 60 characters or less.
2
NFS – The Network File System allows for seamless remote access to files.
x
The M
800 series of terminals will act as a client and connect to an NFS
server. The server will control file access privileges. The files that the M
series of terminals may access on the NFS server appear to be local, thus
allowing then to be executed, copied, etc. Windows PCs will require an NFS
server to be installed.
G
UIDE
x
800

Advertisement

Table of Contents
loading

Table of Contents