Using the WebSphere Commerce Search administration logger
You can use the WebSphere Commerce Search administration logger to check logging information throughout the WebSphere Commerce Search lifecycle.
Before you begin
Ensure that you complete a WebSphere Commerce Search task, such as deploying, setting up, preprocessing, or building the search index. Then, you can use the WebSphere Commerce Search administration logger to check logging information about the task you completed.
Procedure
-
Enable the WebSphere Commerce Search administration logger:
-
Check the following log file locations throughout the WebSphere Commerce Search
lifecycle.
The WebSphere Commerce Search administration logger creates log files that are called admin.log in same location as the search server SystemOut.log files when you run the search utilities.
The content of the log file differs depending on which search server it resides on, and what role the search server serves within the indexing lifecycle. That is, the same search server can be used as the following roles:- Master indexing server (Repeater)
- Subordinate server
- Indexing server for the staging environment
- Indexing server for the authoring environment
The log files are automatically archived. A new log file is created either at midnight, or when the existing log file exceeds 1 MB, whichever occurs first. The archived log files contain the following naming convention: admin_timestamp.log.
For reference, the following table shows the log file locations when you run the search utilities:
WebSphere Commerce Search administration logger
Lifecycle task Search utility Log file location Deploying the WebSphere Commerce Search server config_ant WC_installdir/instances/instance_name/logs Setting up the WebSphere Commerce Search index setupSearchIndex WC_installdir/components/foundation/subcomponents/search/log Preprocessing the WebSphere Commerce Search index data di-preprocess WC_installdir/logs Building the WebSphere Commerce Search index di-buildindex WC_installdir/logs Creating shards for indexing di-parallel-process WC_installdir/logs Calculating contract prices in WebSphere Commerce Search di-calculateprice WC_installdir/logs Crawling WebSphere Commerce site content crawler WC_installdir/logs Automating search replication configuration (with or without the repeater) configSearchReplication WC_installdir/components/foundation/subcomponents/search/log Propagating the search index with the repeater indexprop WC_installdir/logs