Useful Search Logging Switches
All switches can be found under com.stoneware.
WSTreeModeler
com.stoneware.service.Akka.search.WSTreeModeler
com.stoneware.service.Akka.search.WSTreeWorker
Set to "info" will show it actually trying to index the nodes.
----------------------
WSCrawlUserManager
This will show whenever search asks webStorage for a list of users that use webStorage. They are then placed into the PWSUser table. That is basically a schedule of users waiting to be crawled. This is controlled by the GETDATA_PING_USER_INTERVAL in the properties file. In this case, I have mine set to do this every 45 seconds.
DEBUG (01/29) 10:55:25 [com.stoneware.service.Akka.search.WSCrawlUserManager]: WSCrawlUserManager: GetData
DEBUG (01/29) 10:55:26 [com.stoneware.service.Akka.search.WSCrawlUserManager]: Number of users: 3
DEBUG (01/29) 10:56:10 [com.stoneware.service.Akka.search.WSCrawlUserManager]: WSCrawlUserManager: GetData
DEBUG (01/29) 10:56:11 [com.stoneware.service.Akka.search.WSCrawlUserManager]: Number of users: 3
----------------------
WSCrawlMountPointManager
When the crawler looks int the PWSUser table to get users to crawl, this debug will be triggered. This shows that it asked for users, and it got the result back. This happens based on the GETDATA_PING_MOUNT_POINT_INTERVAL setting in the properties file. In this case, mine is set to do this every 30 seconds.
DEBUG (01/29) 11:05:32 [com.stoneware.service.Akka.search.WSCrawlMountPointManager]: GetData
DEBUG (01/29) 11:05:33 [com.stoneware.service.Akka.search.WSCrawlMountPointManager]: WSUserSet
DEBUG (01/29) 11:06:02 [com.stoneware.service.Akka.search.WSCrawlMountPointManager]: GetData
DEBUG (01/29) 11:06:02 [com.stoneware.service.Akka.search.WSCrawlMountPointManager]: WSUserSet
----------------------
IndexWorker
Gives a lot of data about what is happening in the system.... should users be crawled, what it is reading and writing from the database, etc.
In the example below, I have my search configured to only run once every 30 days for a given user. They have already been crawled and it hasn't been 30 days yet.
Note how the debug shows what user it is checking. It does an "isOKToCrawlUser" check. It shows when the last crawl was, what time it is now, what the difference is in millis and minutes, and whether or not that meets the minimum duration (in my case it did not).
On a system that seems idle - this is a great switch to see what is going on.
DEBUG (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> isOKToCrawlUser check: cn=relayuser,o=stoneware
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> ---- isOKToCrawl check ----
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> User: cn=relayuser,o=stoneware
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Last Crawl: 1422551162997
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Now: 1422556554926
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Millis Diff: 5391929
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Seconds Diff: 5391
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> DiffMins: 89.86548333333333
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Elapsed Duration: 5391929 milliseconds
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Min. Duration: 30 days
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Not ok to crawl this user
DEBUG (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> isOKToCrawlUser check: cn=user1,o=stoneware
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> ---- isOKToCrawl check ----
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> User: cn=user1,o=stoneware
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Last Crawl: 1422551162997
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Now: 1422556554940
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Millis Diff: 5391943
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Seconds Diff: 5391
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> DiffMins: 89.86571666666667
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Elapsed Duration: 5391943 milliseconds
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Min. Duration: 30 days
INFO (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: DataNucleusPersist ==> Not ok to crawl this user
DEBUG (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: SearchWorker (indexWorker2) ==> Sending WSUserSet (count 0) to wsCrawlMountPointManager
DEBUG (01/29) 12:35:54 [com.stoneware.service.Akka.search.IndexWorker]: SearchWorker (indexWorker2) ==> All persistence work is done