Working with Server Log Files

The Vocera Voice Server maintains four sets of log files in the \vocera\logs directory:

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 <Prefix> indicates the type of log file, <Mon> is the three letter abbreviation of the month, <DD> is the day, <YY> is the two-digit year, and <HHMM> is the time in 24-hour format:


For example, the following log file was created on 4-July-2014 at 11:30 PM to record system events:


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.