Zg_logging – Zilog EZ80F91GA User Manual

Page 64

Advertising
background image

ZGATE Shell Command Reference

UM024502-1012

52

ZGATE Embedded Security Development Kit
User Manual

zg_logging

Syntax

zg_logging <size 1...1000|th_size 1..1000|screen on/off|file on/

off|show>

Subcommands

size

Sets the maximum log file size. The value specified must be
between 1 and 1000 to set the maximum log file size between
1 KB and 1 MB.

th_size

Sets the maximum threshold log file size. The value specified
must be between 1 and 1000 to set the maximum threshold log
file size between 1 KB and 1 MB.

screen

Used to turn on/off logging to the ZTP console.

file

Used to turn on/off logging to the Zilog File System (ZFS).

show

Displays the ZGATE threshold logging configuration.

Description

The

zg_logging

command modifies ZGATE’s logging behavior. ZGATE can be config-

ured to log information to the ZTP console (viewable on a PC running a terminal emula-
tion program) and/or to the Zilog File System (only if the ZTP project includes ZFS
support).

When logging is enabled (especially if logging to ZFS), system performance will be
impacted.

To learn more, refer to the chapter titled

ZGATE Logging

, on page 26.

Examples

[ZTP EXTF:/]>zg_logging size 10

[ZTP EXTF:/]>

[ZTP EXTF:/]>zg_logging th_size 5

[ZTP EXTF:/]>

[ZTP EXTF:/]>zg_logging screen off

[ZTP EXTF:/]>

[ZTP EXTF:/]>zg_logging file on

[ZTP EXTF:/]>

[ZTP EXTF:/]>zg_logging show

Note:

Advertising