Server Maintenance and Email Setup / Performing Server Maintenance |
Log files provide important data and other system measurments.
The Vocera Voice Server maintains four sets of log files in the \vocera\logs directory:
System logs record general system events for trouble shooting.
The names of these files begin with the log prefix.
Report logs record data that the Vocera Report Server uses to create reports.
The names of these files begin with the report prefix.
Tomcat logs record events related to the Tomcat server used by Vocera.
These files are in the \vocera\logs\tomcat subdirectory.
Nuance logs record events related to the Nuance speech engine used by Vocera.
These files are in the \vocera\logs\Nuance subdirectory.
Both Vocera SIP Telephony Gateway and Vocera Client Gateway maintain log files in their own \vocera\logs directory. The names of these files begin with the vtg and vcg prefixes, respectively. The names of debug-level logs, which have more detail than the console logs, begin with the vtg-dlog and vcg-dlog prefixes, respectively.
Vocera Voice Server log files have the following syntax, where <log> indicates the type of log file, <YYYY> is the four-digit year, <MM> is the two letter abbreviation of the month, <DD> is the day, and <HHMMSS> is the time in 24-hour format:
<log>-<YYYY>-<MM>-<DD>-<HHMMSS>.txt
For example, the following log file was created on 4-July-2014 at 11:30 PM and 28 seconds to record system events:
log-2004-07-14-233028.txt
When the Vocera Voice Server starts, it creates one log file to record system events and a separate log file to keep track of data for the Report Server. By default, the server continues to write data to a log until the file reaches 100,000 lines or until the server stops. At that time, the server closes the file and opens another one. The server also closes each log file and starts another one at midnight.
By default, the Vocera Voice Server saves up to 100 system logs and 100 report logs. If the number of either type of log will exceed 100, the server deletes the oldest file and saves the most recent one, so there are never more than 100 of any type of log.
Similarly, the Vocera SIP Telephony Gateway and Vocera Client Gateway maintain up to 100 logs of up to 100,000 lines each.