(9.0+) VHTPlatformWS logging
VH PlatformWS(v1-v5) web service generates the following log files. Each version of the web service generates its own log:
- VHTPlatformWS Logs
- VHTPlatformWS-v2 Logs
- VHTPlatformWS-v3 Logs
- VHTPlatformWS-v4 Logs
- VHTPlatformWS-v5 Logs
XML (web config) configuration file setting is used to configure the following:
- Where the active files are located
- What log level to write logs
- Name of the active log file and folder
Important
When troubleshooting an issue, be sure to set the log level to the appropriate level to capture all the necessary information.
VHTPlatformWS logs
XML Configuration File Settings
To locate the xml (web config) configuration file used by VH PlatformWS(v1-v5) you must first locate the installation location of Callback. This can be found in the registry of the server in the following location. The setting will be a file path on the server.
XML Configuration File Location
This can be located on each server in the registry
- HKEY_LOCAL_MACHINE\SOFTWARE\Virtual Hold
- InstallationLocation
Here is an example of a common setting: C:\Program Files (x86)\Virtual Hold Technology
The file path will be appended with:
- \VirtualHoldPub\PlatformWS
- \VirtualHoldPub\PlatformWS-v2
- \VirtualHoldPub\PlatformWS-v3
- \VirtualHoldPub\PlatformWS-v4
- \VirtualHoldPub\PlatformWS-v5
Here is an example of a common file path
- C:\Program Files (x86)\Virtual Hold Technology\VirtualHoldPub\\VirtualHoldPub\PlatformWS
- C:\Program Files (x86)\Virtual Hold Technology\VirtualHoldPub\\VirtualHoldPub\PlatformWS-v2
- C:\Program Files (x86)\Virtual Hold Technology\VirtualHoldPub\\VirtualHoldPub\PlatformWS-v3
- C:\Program Files (x86)\Virtual Hold Technology\VirtualHoldPub\\VirtualHoldPub\PlatformWS-v4
- C:\Program Files (x86)\Virtual Hold Technology\VirtualHoldPub\\VirtualHoldPub\PlatformWSv-5
All VH PlatformWS(v1-v5) can be used on a VHT Callback solution. It is recommended to always use the latest version.
In this location are 1 xml (web config) configuration files for VH PlatformWS(v1-v5)
XML File Name
- web.config
VH PlatformWS Logging section in XML Files
<vhtLogging><application level="5" name="VHPlatformWS" logFilePath="C:\Program Files (x86)\Virtual Hold Technology\VHLogs\"></application> </vhtLogging>
VH PlatformWS-v2 Logging section in XML Files
<vhtLogging><application level="5" name="VHPlatformWS-v2" logFilePath="C:\Program Files (x86)\Virtual Hold Technology\VHLogs\"></application> </vhtLogging>
VH PlatformWS-v3 Logging section in XML Files
<vhtLogging><application level="5" name="VHPlatformWS-v3" logFilePath="C:\Program Files (x86)\Virtual Hold Technology\VHLogs\"></application> </vhtLogging>
VH PlatformWS-v4 Logging section in XML Files
<vhtLogging><application level="5" name="VHPlatformWS-v4" logFilePath="C:\Program Files (x86)\Virtual Hold Technology\VHLogs\"></application> </vhtLogging>
VH PlatformWS-v5 Logging section in XML Files
<vhtLogging><application level="5" name="VHPlatformWS-v5" logFilePath="C:\Program Files (x86)\Virtual Hold Technology\VHLogs\"></application> </vhtLogging>
Description | Setting | Values | Default |
---|---|---|---|
File path where active logs should be written | logFilePath | *Any valid directory path |
Missing: C:\VHTPlatform\Logs Empty: Applications Working Directory |
Log level to write active logs | level |
**Number Any value 1-10 | Missing of Blank: 5 |
Size of the active Log | N/A | 8 MB | |
Name of log folder | name | Text | Missing or Blank: Name of Applcation file |
Name of log file | name | Text | Missing or Blank: Name of Application file |
How long to keep active files in the active directory | Controlled by Archive Service | ||
When to start new log file | Active file size exceeds 8MB |
*Should always be the root for ALL log files.
**Log level 5 should provide sufficient info.
Log level | Included in logs |
---|---|
0 | No log |
1-4 | Should never be used. Insufficient logging. |
5 | Default setting, used by most systems. |
6 | |
7 | |
8 | |
9 | |
10 |