3
162 Nokia Network Voyager for IPSO 4.0 Reference Guide
Caution
When you insert a PC card into a flash-based appliance and select the card as an
optional disk, any existing data on the card is erased. If you remove a PC card that
contains log files and want to permanently store the data, insert the card into a PC or
other computer and save the data to that system before reinserting the card into a
Nokia flash-based (diskless) appliance.
Log messages are temporarily stored in system memory and are stored to remote log servers and/
or PC card flash memory according to a schedule that you can configure.
Log messages are stored in the following files:
/tmp/tmessages (in memory)—Stores most log messages.
/var/log/messages—Stores most log messages when PC card flash memory is installed.
Note
Messages stored in http_error_log or httpd_access_log on other platforms are stored in
the messages files on flash-based systems.
/var/log/wtmp—Stores messages about shell logins and logouts. When PC card flash
memory is installed, /var/log/wtmp is automatically stored on the drive.
Configuring Logging to Remote Log Servers
If you decide to use remote systems, you must configure them to store the log files. To configure
your flash-based system to send syslog messages to remote log servers, use the following
procedure.
To configure a flash-based system to use a remote log server
1. Click System Logging under Configuration > System Configuration in the tree view.
2. Next to Network Logging, click On.
3. Enter the IP address of the primary remote log server.
Make sure that the flash-based system has connectivity to the remote server.
4. If you want to use a secondary remote log server, enter its IP address.
If the primary log server is unreachable for any reason, the system sends its log files to the
secondary log server. Make sure that the system has connectivity to the secondary server. If
the primary log server is unreachable, there is a several minute delay before log messages
are sent to the secondary server. The messages are stored in a buffer during this time and are
sent when connectivity is established with the secondary server.
5. Set the threshold level for saving log messages to the remote server.
Flash-based systems can hold 512 log messages in a specific memory buffer. Use this
configuration option to control when the messages are saved to the remote server and the
buffer is cleared. For example, assume that the threshold percentage is 50 percent. When