Usage logs

19 views
Skip to first unread message

pcdigitalservices

unread,
Aug 13, 2019, 4:26:49 PM8/13/19
to XTF Users List
Does XTF log searches or other usage info (or is it possible to get it to do so if it doesn't by default)? I'm only finding info on how to log errors. Thank you!

Steven D. Majewski

unread,
Aug 13, 2019, 4:50:13 PM8/13/19
to xtf-user@googlegroups.com List

In the conf/ directory are .conf files for each of the services that control the log level, and by changing that setting you can control the amount of info that goes into the log file.
Setting log level to “info”  should give you enough information.

<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- Configuration file for the crossQuery full-text query servlet          -->
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->

<crossQuery-config>

    <!-- =====================================================================
         Tag:     <logging level="xxx"/>

         

         Descrip: Controls how much detail to output. xxx can be one of:
                     silent:   No logging
                     errors:   Log servlet restarts and errors
                     warnings: Log restarts, errors, and warnings
                     info:     Normal. Log all above, plus routine info msgs
                     debug:    Verbose. Log all above, plus debug msgs
    -->

    

    <logging level="info"/>



However, if you’re running XTF under tomcat, or some other container, or proxying via apache or other server, you may also be getting all accesses logged in another access log file.  ( On my laptop, where I’m only running under tomcat, it’s in the tomcat access_log . On production server, where tomcat is proxied thru apache, info is not in tomcat access log, but in apache access logs. So where to look will depend on your particular server configuration. ) 

If the info you want is only the access URLs, then it might be easier to search the access logs, which won’t have a lot of other sorts of messages to exclude. 

— Steve M. 




On Aug 13, 2019, at 4:26 PM, pcdigitalservices <d...@providence.edu> wrote:

Does XTF log searches or other usage info (or is it possible to get it to do so if it doesn't by default)? I'm only finding info on how to log errors. Thank you!

--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xtf-user/11581553-13bf-42dc-991a-178822a4e8ce%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages