TSP Lab | GyEIR_5G - The Main module - 5G version | GyEIR_5G |
---|
Menu | Menuitem | Shortcut(s) | Meaning |
---|---|---|---|
[Log] | |||
Details | Detail level of logging (Off, Normal, Detailed, or Debug) | ||
Find line containing... | (Ctrl-F) | Finds text in log window | |
Find next matching line | (F3) | Finds next occurrence of text in log window | |
Auto scroll | (ScrollLock, or ![]() ![]() | Allows automatic scrolling of the log screen | |
[Actions] | |||
Flush status-line counters into log | Writes status counters into the log. These counters are being flushed in every 15 minutes. | ||
Flush & reset status-line counters | The status line counters can be flushed and cleared | ||
Save settings | Saves actual settings into the configuration (GyEIR_5G.ini) file |
Section | Entry | Example | Meaning |
---|---|---|---|
[Position] | Entries of this section are loaded at start-up | ||
iLeft | 140 | Position of the program module on the display screen | |
iTop | 72 | Position of the program module on the display screen | |
iWidth | 995 | Position of the program module on the display screen | |
iHeight | 694 | Position of the program module on the display screen | |
[Options] | Entries of this section are loaded at start-up | ||
bAutoScroll | True | (Refer to the [Options]/Auto scroll menu item!) | |
[HTTP Server] | Entries of this section are loaded at start-up Note: At most 9 HTTP/HTTPS services can be defined. | ||
sService1 | https://+:8181/ | HTTPS service listening on TCP port 8181 bound to any IP addresses | |
sService2 | http://10.0.100.121:8282/ | HTTP service listening on TCP port 8282 bound to 10.0.100.121 | |
sService3 | https://+:8888/GyEIR_5G | HTTPS service listening on TCP port 8888 bound to any IP addresses with a service name | |
[Response Files] | Entries of this section are loaded at start-up Defines the templates for the different answers | ||
White | GyEIR_5G - 200-OK-WhiteListed.txt | File containing the response in case a PEI/IMEI is found in the EIR database and its status is "WhiteListed" | |
Grey | GyEIR_5G - 200-OK-GreyListed.txt | File containing the response in case a PEI/IMEI is found in the EIR database and its status is "GreyListed" | |
Black | GyEIR_5G - 200-OK-BlackListed.txt | File containing the response in case a PEI/IMEI is found in the EIR database and its status is "BlackListed" | |
(none) | GyEIR_5G - 404-NoPEI.txt | File containing the response in case a PEI/IMEI is not found in the EIR database | |
[Advanced] | Entries of this section are loaded at start-up | ||
wLogDetailLevel | 3 | (Equals to the listed order; refer to the [Log]/Details menu item!) | |
dwMaxLinesInLogWindow | 1000 | Number of lines in the log window on screen | |
sLogFilesPath | d:\LogFiles | Path for the LOG files |
Logging
The GyEIR_5G module creates daily logfiles about its working. The name of the logfile is "GyEIR_5G_YYYYMMDD.log"
reflecting the day when it is created.
The module can write information into the logfile and onto the screen with several detail levels
set by the [Log]/Details menu item. The logging level can be:
The different colors of log entries have different meanings:
Code | Color | Usage |
---|---|---|
0 | Black | Compact data record |
1 | Red | Errors |
2 | Green | Open/close output file/stream |
3 | Blue | Open/close input file/stream |
4 | Yellow | Warnings |
5 | Light Gray | Detailed data (debug info) |
6 | Dark Grey | Detailed data (user info) |
7 | Purple | Operator intervention; Errors with emphasis |