How to Specify What Information is Included in Log Files
To specify what information is included in log files, use the following graphic and procedure.
-
In the AutoClassifier administration portal, click Logging from the left navigation panel.
-
Configure the following fields:
-
Capture Pipeline Statistics:
-
Pipeline Statistics capture performance indicators for all components in the AutoClassifier Pipeline when enabled (True)
-
Default: True
-
-
Enable Rules Engine Document Trace:
-
When enabled (True) the document trace feature captures detailed analysis of the Rules Engine Component.
-
Default: False
-
-
Include All Queries in Document Trace:
-
By default the Document Trace will only include potential Rule matches.
-
If set to True, all queries from the taxonomy will be included
-
Default: False
-
-
Document Property Trace Filter:
-
This filter is property-based.
-
For example: filename=”Test AC Document.docx”
-
-
Any file with metadata that matches the trace is included when the trace is enabled
-
However, no filter produces a trace for every profiled document
-
If you do not want all of your document properties included in the logging operation, specify the list of properties to include using a comma (,) separated list
-
This information is stored in the DocumentTrace folder
-
-
Logging Servers:
-
Each installation of the AutoClassifier Engine automatically registers the server for logging
-
This is based upon the initial IIS Bindings
-
If the binding changes, each server needs to be updated to reflect the new bindings
-
-
To configure AutoClassifier to continue to use the logging features each server would need to be configured with an additional HTTP binding
See documentation for running AutoClassifier under HTTPS to configure AutoClassifier to run under both HTTPS and HTTP
If you setup a binding with a name that is different than the server name, you must manually update the logging server Schema, Name and Port in the Logging Servers configuration to match the configured IIS binding
Example: https, autoclassifier.contoso.com, 1443
-
Log Level:
-
Select the Log Level to set on all servers
-
-
Download Logs:
-
Retrieves all accessible logs for the current day and merges the data into a single file
-
-
Clear Logs:
-
Clears all accessible log files on all servers
-
-
Click the Save button at the bottom of the page to save your changes.
Scheduled Annotation: Using Logs to Monitor Library Processing
Scheduled annotation can be useful for monitoring progress when annotating document libraries.
To monitor Scheduled Annotation progress, use the logging feature.
To get visibility into the progress of a library being processed, use the log file results, as described and shown below.
During scheduled annotation all of the following are annotated (if so configured):
-
Sites
-
Site collections
-
(Document) Libraries
For each document library, the following data is shown:
-
Report items processed
-
List item IDs
-
Numbers ending encircled in screenshot below, ending in _1997, _1996, _1995, _1994, etc.
-
Example: 076786DA-BF40-44D4-8F37-0DCF57A3488A_1996
-
Format: ListID_ItemID
-
-
Result of batch processing:
-
The keys shown in the screenshot for batch processing below are a series of numbers which correlate to: site collection ID, site ID, and library ID
-
Use the key to troubleshoot issues, if required.
-
Format: SiteCollectionID_SiteID_LibraryID
-
-
-
DPS
-
Documents per second (for each batch of 20 items, sorted by list key)
-
-
Progress so far
-
Percentage of completion for each library the job is processing
-
Note:
-
The progress percentage is not perfectly accurate in all scenarios.
-
Custom filtering, such as CAML queries, used to filter library items in SharePoint, the percentage is not accurate.
-
Also, if the job failed, and continued from where it left, the percentage is “pessimistic” meaning it will not consider items previously processed and will show a lower value than the real one.
-
When you are not using custom CAML queries, and your job works uninterrupted, the percentage is perfectly accurate.
-
-
-
All Items updated, including those with metadata
-
To count total number of items updated, it must be done at the Debug log level:
-
Succesfully annoated item: "ItemTitle"
-
-