|
Event logging is a feature in Pervasive.SQL that is a replacement for the MicroKernel message log. It is a centralized log that stores informational, warning, and error messages from Pervasive's Btrieve interface, SQL interface, and utility components, allowing you to view one file for information on a wide variety of Pervasive.SQL issues. There is no setup requirement to activate this log; it is always enabled.
Note
Pervasive Event Logging is separate from Transaction Durability (page 4-46) logging and "Archival Logging" (see the following topic in Advanced Operations Guide: Logging, Backup, and Restore ).
The event log is named PVSW.LOG and it resides in the installation directory of the operating system for each machine running a Pervasive.SQL application. This location cannot be changed due to the fact that a variety of Pervasive.SQL components and potentially several Pervasive.SQL applications running concurrently must share the file; therefore, it must be in a well known location. The locations are specified in the following table. If you have an operating system installed on a drive other than C, substitute that drive letter in the following table.
|
Platform
|
Event log location
|
|---|---|
|
Windows NT
|
C:\WINNT
|
|
Windows 9X
|
C:\WINDOWS
|
|
NetWare
|
SYS:\SYSTEM
|
|
Linux
|
~psql/bin
|
Note
If two or more Pervasive.SQL applications are running on the same machine, they share a single event log.
The event log consists of ASCII text messages that adhere to the following syntax description.
An entry may be followed by binary data in standard ASCII hexadecimal format. There is no limit to the length of the binary data. The fields in these entries are as follows:
When a component generates a status code, there is often additional information about the cause of that status code that is recorded in the Event log. Consult the Event log when you encounter problems with your Pervasive.SQL application and have the Event log available when contacting Pervasive Software for technical support.
|
Chapter contents
Prev topic: Data Integrity
|