Issue
From time to time it might be necessary to check the EV Collector log files. This article explains where the log files are and give some example traces of different EV Collector operations.

 
Solution
You will find here samples of the EV Collector log files when a Single Archive Collection is triggered.
First, we will need to find and open the log files. They are stored on:
a) The machine where the modules are installed (ie: C:\Program Files (x86)\QUADROtech\Logs), in many cases, it will be a Source EV server. The log file name is “AS_EVCollector_Log.txt”
b) The machine where Archive Shuttle core is installed (ie: C:\Program Files\QUADROtech\Logs). You will find there two different log files for EV collector, first is the Client (Module) log file with name “ArchiveShuttle.WebServicesLog.HOSTNAME.EVCollector.Client.txt”, and the second one is the core log ArchiveShuttle.WebServicesLog.HOSTNAME.EVCollector.txt
Second, the log level may need to be changed to TRACE to collect detailed information.
Here you can see the sample of Single Archive Collection with Trace logging enabled, which should give you a basic overview of the command process flow:
Module received a command from the core to collect items for single archive:

2015-08-27 08:07:02Z|3184| 10| INFO|                                               Get| -> Got 1 commands
2015-08-27 08:07:02Z|3184| 10| INFO|                             ProcessManualCommand|Got Command CollectItemsForArchive with commandID 105
2015-08-27 08:07:02Z|3184| 10|DEBUG|                                               Get|Got Command CollectItemsForArchive
2015-08-27 08:07:02Z|3184| 23|TRACE|                                             .ctor|>> Collecting Items for Single User

EV Schema version and Archive ID:

2015-08-27 08:07:02Z|3184| 24|DEBUG|                                         GetEVDAL|EV Version 10 SP4 Detected. Schema Version is 10.125.5.137
2015-08-27 08:07:02Z|3184| 23|DEBUG|                                  GetWigForArchive|Created new WorkItemGroup for ArchiveID 181B6BD5D83258A409EFAB405FC6C89031110000ev10-site
2015-08-27 08:07:02Z|3184| 15|TRACE|                                           Dispose|<< Collecting Items for Single User [86,2293 ms]

Start of the single archive collection:

2015-08-27 08:07:02Z|3184| 13| INFO|                     CollectItemsForSingleArchive|Collecting Items for Archive [ArchiveName]
2015-08-27 08:07:02Z|3184| 23|TRACE|                     CollectItemsForSingleArchive|07341d13-c4c1-48ff-8819-0dca8362c3f3 added successfully to ResultDict
2015-08-27 08:07:02Z|3184| 23| INFO|                               GatherArchivedItems|*** Starting item collection for [ArchiveName] from: [01/01/1900 00:00:00]

Item count of gathered items:

2015-08-27 08:07:02Z|3184| 13|TRACE|                               GatherArchivedItems|Collecting [12] items for Archive [ArchiveName]

SQL timeout information:

2015-08-27 08:07:02Z|3184| 13|TRACE|                             get_SqlCommandTimeout|SQL connection timeout is set to 600 seconds.

Collection Finished:

2015-08-27 08:07:02Z|3184| 13| INFO|                               GatherArchivedItems|Finished collection of [12] items for [dosk.test1013] in [0 s]

Transferring collected items from module to core and database

2015-08-27 08:07:04Z|3184| 24| INFO|                       TransferItemMetadataToCore|Starting transmission of 1 containers containing 12 items to core
2015-08-27 08:07:04Z|3184| 24|TRACE|                        TransferItemMetadataToCore|Checking Container: 07341d13-c4c1-48ff-8819-0dca8362c3f3
2015-08-27 08:07:04Z|3184| 23|TRACE|                       TransferItemMetadataToCore|Adding container 07341d13-c4c1-48ff-8819-0dca8362c3f3 to transmission list.
2015-08-27 08:07:04Z|3184| 14|TRACE|                                     CreateTracer|>> --> WT: Sending 12 Collected Items Metadata to Core for 07341d13-c4c1-48ff-8819-0dca8362c3f3
2015-08-27 08:07:04Z|3184| 14|TRACE|                                      CreateTracer|>> --> WT: Sending 12 Collected Items (chunk) Metadata to Core for 07341d13-c4c1-48ff-8819-0dca8362c3f3
2015-08-27 08:07:04Z|3184| 14|TRACE|                                             .ctor|>> SetCollectedEVItems
2015-08-27 08:07:04Z|3184| 15|TRACE|                                             .ctor|>> CallWebService
2015-08-27 08:07:04Z|3184| 15|TRACE|                                   CallWebService|Communication attempt number: 1
2015-08-27 08:07:05Z|3184| 14|TRACE|                                          Dispose|<< CallWebService [753,7285 ms]
2015-08-27 08:07:05Z|3184| 23|TRACE|                                           Dispose|<< SetCollectedEVItems [754,2646 ms]

The transmission was successful and the backlog deletion started:

2015-08-27 08:07:05Z|3184| 23|TRACE|                                         SenderWT|Transmission of 12 items was successful. Deleting them in BacklogDB
2015-08-27 08:07:05Z|3184| 14|TRACE|                           DeleteTransmittedItems|Deleted 12 items [0 ms]
2015-08-27 08:07:05Z|3184| 10|TRACE|                                         SenderWT|Deleting 12 items in Backlog DB was successful
2015-08-27 08:07:05Z|3184| 10|TRACE|                                           Dispose|<< --> WT: Sending 12 Collected Items (chunk) Metadata to Core for 07341d13-c4c1-48ff-8819-0dca8362c3f3 [771,0422 ms]
2015-08-27 08:07:05Z|3184| 10| INFO|                                         SenderWT|0/12 items still in this transmit queue. Chunk: [785 ms] Total: [786 ms]
2015-08-27 08:07:05Z|3184| 10| INFO|                                         SenderWT|Core Transmission finished. Success: 12 items | Failed: 0 items. [786 ms]
2015-08-27 08:07:05Z|3184| 10|TRACE|                               ReadContainerCount|Elapsed [0 ms] in ReadContainerCount
2015-08-27 08:07:05Z|3184| 10|TRACE|                                             .ctor|>> SetCommandResult
2015-08-27 08:07:05Z|3184| 10|TRACE|                                             .ctor|>> CallWebService
2015-08-27 08:07:05Z|3184| 10|TRACE|                                   CallWebService|Communication attempt number: 1
2015-08-27 08:07:05Z|3184| 14|TRACE|                                           Dispose|<< CallWebService [40,6728 ms]
2015-08-27 08:07:05Z|3184| 10|TRACE|                                           Dispose|<< SetCommandResult [41,1002 ms]

Whole collection process ends at this point:

2015-08-27 08:07:05Z|3184| 23|TRACE|                                           Dispose|<< --> WT: Sending 12 Collected Items Metadata to Core for 07341d13-c4c1-48ff-8819-0dca8362c3f3 [841,5585 ms]
Print Friendly, PDF & Email