On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hello, One of the great features of AjaxSearch is the logging introduced in V1.9.

    I use it for ’all ajaxSearch requests are logged’.

    &asLog=`2:0:0`


    However this doesn’t appear to include failed searches, it logs successful searches only. If this isn’t a bug, can we have an option 3 to log both failed and successful searches?
    • I never answer you but I saw your post tongue

      Issue registered as AJAXSEARCH-78: failed searched never logged

      This issue will be fixed in the next release of AjaxSearch (1.9.2)

      Level 1 will show failed searches only. Level 2, successfull or failed searches
      ---- &asLog - ajaxSearch log [ level [: comment [: purge]]]
              level:
                0 : disallow the ajaxSearch log (default)
                1 : failed search requests are logged
                2 : all ajaxSearch requests are logged (successfull and failed)
              comment:
                0 : user comment not allowed (default)
                1 : user comment allowed
              purge: number of logs allowed before to do an automatic purge of the table
                0 : no purge allowed (= illimited number of logs)
                default: 200
      • Thanks coroico, greatly appreciated.