TSP Lab | CDRWriter - CDR Writer module | CDRWriter |
---|
Menu | Menu item | Shortcut(s) | Meaning |
---|---|---|---|
[File] | |||
Load state | ![]() | Load a previously saved memory dump | |
Save state | ![]() | Save the internal memory content into a dump file | |
Log counters | ![]() | Save counters into log file | |
Save counters | ![]() | Save counters into CSV file | |
Exit | ![]() | Shuts down the program | |
[Tools] | |||
Start processing | ![]() | Enable data processing | |
Stop processing | ![]() | Disable processing | |
Clear state | ![]() | Reset internal memory to initial value | |
Flush state | ![]() | Writes messages from internal buffers to CDR files | |
Clear counters | ![]() | Reset counters to zero | |
Settings | ![]() | Set INI file settings from menu | |
Save settings | ![]() | Save current settings into the INI file | |
[Help] | |||
Help | ![]() | Currently not used | |
About | ![]() | Show information about the program |
To search in the log entries, there is a 'Find' text-field. The 'next' button applies the text search and jumps to the next match.
Each log entry has a category, which is represented by the following icons:
Sections in views can be collapsed and expanded using the triangle button at the right up corner of the sections.
Counters in the "Incoming transactions" section
Counters in the "CDR Writer" section
Counters in the "Runtime" section
This view shows the currently used input and output connections. Both input and output connections can be defined in INI file before starting the program,
as well as during operation.
Details of connections can be collapsed and expanded using the "expand" triangle button at the right up corner of the connections.
Connections of CDRWriter module
Input connection is defined in INI file. A sample configuration entry:
The "Terminal" provides direct access to the core logic using commands. Available commands are listed on the right. Typically used for debug purposes.
Configuration (CDRWriter.ini) file settings
Section | Entry | Example | Meaning |
---|---|---|---|
[CDR] | |||
CompressionLevel | 6 | Compression level for CDRs. 0 means compression is switched off. Values 1..9 mean compression level. | |
DataFilePeriod | 15 | Period of closing database files. Given in minutes | |
DataPathPrimary | D:\CDR\ | Primary path for CDR files | |
DataPathAlternate | E:\CDR\ | Alternative path for CDR files for the case of inaccessibility of the primary path | |
DataPreallocationSize | 100 | Preallocated size of CDR files, in megabytes. | |
Encrypt | 1 | Enables encryption of CDR files; 0 means off. | |
IndexPath | D:\CDR\ | Path for index files | |
IndexPreallocationSize | 10 | Preallocation size in MB of index files | |
MaxOpenFiles | 2 | Maximum number of files kept open simultaneously by type (CDR, Index) | |
MinFreeDiskSpaceNeeded | 1024 | Min free space in MB needed on the disk. Below this limit processing will be stopped | |
Autoflush | true | It set, will flush to disk after each record | |
Caption | CDRWriter_11 | Caption text for easy distinguishing amongst multiple instances of this module | |
[Counters] | |||
ClearOnWrite | false | Clear counters after history file written | |
HistoryFile | D:\LogFiles\CDRWriter.csv | The path of the counter history file | |
HistoryPeriod | 15 | The counter history file writing period in minutes | |
[Input] | |||
RestoreChannels | true | Restores the active channels after restart | |
SortingQueueDelay | 0 | The sorting queue delay in milliseconds | |
SortingQueueLength | 0 | The maximum size of the sorting queue | |
StoragePointerFilePath | D:\DataFiles-7700 | Path for optional storage pointer files (Sga-7700.xxx), if MUFI2 input is used | |
SynchronizedIO | false | The input and the output channels will be synchronized | |
CDRAssembler_socket | socket-adg://127.0.0.1:17003?listen=1 | Definition of the listening TCP socket for incoming connection from the CDR Assembler module | |
[Log] | |||
LogDetailLevel | Normal | Stored level for Log message filter: 0: Off 1: Normal 2: Detailed 3: Debug | |
LogFilesPath | D:\LogFiles | Directory used for storing log files | |
[Output] | Output connection is not used in this application | ||
RestoreChannels | false | Restores the active channels after restart | |
SortingQueueDelay | 0 | The sorting queue delay in milliseconds | |
SortingQueueLength | 0 | The maximum size of the sorting queue | |
output_connection_name | output_connection_specification | Definition of the output connection | |
[RemoteUI] | |||
TCPHost | 127.0.0.1 | IP Address for command interface | |
TCPPort | 16007 | Port for command interface | |
[State] | |||
AutoStart | true | The initial state of the processing | |
StateFile | D:\CDRWriter.state | The path of the state file |