Virtual TapeServer 8.3 Configuration Guide
190 | Virtual TapeServer Configuration Guide
Other log files
The following log files are generated and saved in various directories on the VTS server.
Operating system logs:
l /var/log/messages
l /var/log/cron
l /var/log/boot.log
Apache web server logs:
l /var/log/httpd/error_log
l /var/log/httpd/access_log
VTS function logs:
l /usr/local/tape/log/ems.* (available from the VTS web interface)
l /usr/local/tape/log/debug.* (available from the VTS web interface)
l /usr/local/tape/log/mount.log
l /usr/local/tape/log/export.log (available from the VTS web interface)
l /usr/local/tape/log/event.log (available from the VTS web interface; see 172 for more
information)
l /usr/local/tape/log/scanat.log
l /usr/local/tape/log/vtape.log
l /usr/local/tape/log/upgrade.log
l /usr/local/tape/log/ems.lastmount.cmd
l /usr/local/tape/log/rescan.txt
l /usr/local/tape/log/SecureVTS.log
Note Though you can change the log level of these files, the log level is reset to the default every
time VTS is rebooted.
To view log files, the following commands are useful:
view logfile — To search the file
tail –f –n 35 logfile — To list the file in real-time
grep –ni string logfile — To search for a specific string
less logfile — To search a file by paging through it
Compressed log files can be searched and viewed by using zgrep and zless.