The debugging did not fix my issue. However, I stumbled across the real culprit inadvertently. I am passing a querystring tag to my search page. I then fill the input control with ID = tag_to_search_for with the tag. My search settings are set to immediately load so a search is performed based on the tag. This initial search is not being logged. If I perform subsequent searches on the page then those searches are logged.
Can you tell me how to make sure the initial load search goes through the logging as well?