This article covers loggers related to Store and Forward that were introduced in Ignition version 7.9.X.
Loggers in this article:
StoreAndForward.Sink
A series of loggers for monitoring the execution of existing Store and Forward profiles. Replaced 7.8’s {StoreAndForwardProfileName} series.
StoreAndForward.Sink.CacheStorage
- Provides a response each time the Store and Forward attempts to forward records from the memory buffer to the disk cache.
-
DEBUG log stating the result of a successful forwarding of records into a data source:
[MemoryStore->HsqlDataStore] Forward of 1 transactions/1 datapoints took 0 ms. 0 transactions/0 datapoints failed.
-
DEBUG log stating the result of a successful forwarding of records into a data source:
StoreAndForward.Sink.HsqlDataStore
- Provides a response each time the Store and Forward attempts to forward records from the disk cache to a data source.
-
DEBUG log stating a transaction being prepared for forwarding a record from the disk cache to a data source:
Providing transaction set of 1 data points [1 transactions of 25 requested] for forward.
-
DEBUG log stating a transaction being prepared for forwarding a record from the disk cache to a data source:
-
-
TRACE log indicating a successful forward of records from the disk cache to a data source. In this example, Tag history is being logged and is mentioned for this transaction Stored 'SQLTag History Data':
Stored 'SQLTag History Data' with 1 points in 697 bytes
Historical data of size 1 stored in 1 ms
-
TRACE log indicating a successful forward of records from the disk cache to a data source. In this example, Tag history is being logged and is mentioned for this transaction Stored 'SQLTag History Data':
StoreAndForward.Sink.MemoryStore.MemoryForwardTransaction
- Provides a response each time the Store and Forward attempts to forward records into a data source or disk cache from the memory buffer.
-
DEBUG log stating the result of a successful forwarding of records into a data source or disk cache:
Historical forward transaction completed successfully.
-
DEBUG log stating the result of a successful forwarding of records into a data source or disk cache:
StoreAndForward.Sink.MultiStageStore
- Will monitor both the retrieval data from SQL inserts utilizing Store and Forward that will be passed into the memory buffer and the forwarding of those inserts into the datastore.
-
TRACE log stating that a record is being passed into the memory store successfully {StoreAndForwardProfileName} can be denoted as the name of an existing Store and Forward profile being monitored. Also note the specific real-time Tag Provider is mentioned since this involves a historical Tag write:
Historical data of size 1 stored in 0 ms store-forward-name={StoreAndForwardProfileName}, tag-provider=default
-
TRACE log stating that a record is being passed into the memory store successfully {StoreAndForwardProfileName} can be denoted as the name of an existing Store and Forward profile being monitored. Also note the specific real-time Tag Provider is mentioned since this involves a historical Tag write:
-
-
DEBUG log stating steps after a data has been passed into the memory store. Records are being prepared for forwarding to the data source. The Primary count or number of data points should match with the number of TRACE logs stated above:
Taking data for forward. Primary count: 1, secondary count: 0, allow primary access=true, wait=true
Providing transaction set of 1 data points [1 transactions of 25 requested] for forward.
-
DEBUG log stating steps after a data has been passed into the memory store. Records are being prepared for forwarding to the data source. The Primary count or number of data points should match with the number of TRACE logs stated above:
StoreAndForward.Sink.PrimarySFEngine
- Provides a summary of a single Store and Forward transaction from memory store to the data source.
-
DEBUG log stating a summary of a successful store and forward transaction. This result summarizes the execution stated in Sink.MultiStageStore:
[MultiStageStore->AggregateSink] Forward of 2 transactions/2 datapoints took 2 ms. 0 transactions/0 datapoints failed.
-
DEBUG log stating a summary of a successful store and forward transaction. This result summarizes the execution stated in Sink.MultiStageStore:
StoreAndForward.Sink.TagHistoryDatasourceSink
- Monitors all Tag history queries that will be sent to a specific Store and Forward profile. Will log at the rate of all existing historical Tag Groups/Scan Classes applied to historical Tags.
-
DEBUG log reporting each time the historical Tag Group/Scan Class polls for values. Will either report a count of inserts each historical poll or report 0. The Tag Group/Scan Class name and the execution time will also be provided each execution:
Inserted 1 values for scan class 'Default Historical' in 2 ms
Inserted 0 values for scan class '_exempt_' in 0 ms
-
DEBUG log reporting each time the historical Tag Group/Scan Class polls for values. Will either report a count of inserts each historical poll or report 0. The Tag Group/Scan Class name and the execution time will also be provided each execution:
-
-
TRACE log providing information about a successfully executed historical write. The second line:
Update of scan class 'Default Historical' would affect 1 record(s).
Storing value to tag history: {[default]Testing/Bindings/Random/RandomBoolean1, [true, Good, Tue Sep 28 10:49:53 PDT 2021], 0}
-
TRACE log providing information about a successfully executed historical write. The second line:
Comments
0 comments
Article is closed for comments.