ZyXEL ZYWALL USG 100 User Guide - Page 127

What Can Go Wrong, 6.7 How to Save System Logs to a USB Storage Device

Page 127 highlights

Chapter 6 Maintenance 6.6.1 What Can Go Wrong When you run a shell script, the ZyWALL processes the file line-by-line. The ZyWALL checks the first line and applies the line if no errors are detected. Then it continues with the next line. If the ZyWALL finds an error, it stops applying the shell script. If you want the ZyWALL to ignore any errors in the shell script and applies all of the valid commands, include setenv stop-on-error off in the shell script. The shell script will keep running regardless of error. You can still find the logs for shell script errors. 6.7 How to Save System Logs to a USB Storage Device The ZyWALL uses the memory space to store system logs. Once the memory is full, the ZyWALL has new logs override old logs. If your ZyWALL's memory is full or the size of the system logs you want to save may exceed the remaining space, you can use a USB storage device. This tutorial shows you how to save the ZyWALL's system logs to a USB storage device directly connected to the ZyWALL. Note: You can check the remaining memory space in the Dashboard screen. Note: System logs saved on the ZyWALL cannot be transferred to a USB device directly connected to the ZyWALL. The ZyWALL saves new system logs to the connected USB storage after you complete the settings shown here. 1 Insert a USB storage device to any USB port on your ZyWALL. In the Monitor > System Status > USB Storage screen, you can see the USB device's information. Note: Make sure the USB device's file system is supported by the ZyWALL. (It should not display "Unknown".) ZyWALL USG100-PLUS User's Guide 127

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140

Chapter 6 Maintenance
ZyWALL USG100-PLUS User’s Guide
127
6.6.1
What Can Go Wrong
When you run a shell script, the ZyWALL processes the file line-by-line. The ZyWALL checks the first
line and applies the line if no errors are detected. Then it continues with the next line. If the
ZyWALL finds an error, it stops applying the shell script.
If you want the ZyWALL to ignore any errors in the shell script and applies all of the valid
commands, include
setenv stop-on-error off
in the shell script. The shell script will keep
running regardless of error. You can still find the logs for shell script errors.
6.7
How to Save System Logs to a USB Storage Device
The ZyWALL uses the memory space to store system logs. Once the memory is full, the ZyWALL
has new logs override old logs. If your ZyWALL’s memory is full or the size of the system logs you
want to save may exceed the remaining space, you can use a USB storage device. This tutorial
shows you how to save the ZyWALL’s system logs to a USB storage device directly connected to the
ZyWALL.
Note: You can check the remaining memory space in the
Dashboard
screen.
Note: System logs saved on the ZyWALL cannot be transferred to a USB device directly
connected to the ZyWALL. The ZyWALL saves new system logs to the connected
USB storage after you complete the settings shown here.
1
Insert a USB storage device to any USB port on your ZyWALL. In the
Monitor
>
System Status
>
USB Storage
screen, you can see the USB device’s information.
Note: Make sure the USB device’s file system is supported by the ZyWALL. (It should not
display “Unknown”.)