Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    SFX
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. SFX
    3. Product Documentation
    4. Version 4.0
    5. SFX System Administration Guide
    6. Testing and Debugging

    Testing and Debugging

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. SFX Admin Debugging Tool
    2. Using the Apache Log Files
    3. SFX Menu Monitoring
    4. SFX Menu Log Files

    SFX Admin Debugging Tool

    The Debugging tool allows the SFX administrator to determine the source of errors that may occur in the SFX flow, such as missing targets from the SFX menu, corrupted target URLs, proxy problems, and some server errors.
    Debugging can be used in:
    • The SFX menu screen
    • The target window
    For a full description of the debugging tool, refer to the Troubleshooting and Debugging section of the SFX Advanced User's Guide.

    Using the Apache Log Files

    Apache log files can be used in order to debug requests sent to the SFX server. The log files that are created by each Apache server (reverse proxy server and instance-specific server) are:
    • error_log – Any error that occurs while sending a request to the server is logged in this file.
    • access_log – Any access request made to the SFX server is logged in this file.
    Both files are located at the following paths:
    • For the reverse proxy Apache server:

    /exlibris/sfx_ver/sfx4_1/proxy/logs

    In order to view the content of the files, you must log on to the server as the sfxglb41 user.

    • For the instance-specific Apache server:

    /exlibris/sfx_ver/sfx4_1/<instance>/logs/apache

    In order to view the content of the files, you must log on to the server as an instance user.

    SFX Menu Monitoring

    SFX includes a source that can be used to check whether the SFX server is up and running, without affecting SFX statistics.
    When sending an OpenURL for monitoring purposes, use following sid:

    rfr_id=info:sid/sfxit.com:site_up_check

    Where the value (after rfr_id=) should be URL encoded.
    For example:

    <base_url?url_ver=Z39.88-2004&url_ctx_fmt=infofi%2Ffmt%3Akev%3Amtx%3Actx&ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsfxit.com%3Asite_up_check&rft.genre=journal&rft.issn=0000-0019&rft.date=2009&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal

    In the SFX KnowledgeBase, this sid corresponds to the following source:
    Source name: SFX_SITE_UP_CHECK
    Source ID: SITE_UP_CHECK
    Requests using this source information are not included in the statistics table, so this is the recommended sid for any SFX menu monitoring tool.

    SFX Menu Log Files

    By default, a log file of each SFX menu is generated by SFX in the /exlibris/sfx_ver/sfx4_1/<instance>/logs directory of each instance named sfxmenu.<pid>. It is removed automatically when the SFX menu is displayed to the end user. It is possible to temporarily disable the deletion of the log file for debugging purposes.
    To temporarily disable the deletion of the log file:
    1. Log on as the instance user:
    2. Type cn to go to the configuration directory.
    3. Type vi ctx_object.config to open the file.
    4. Locate the html_menu section.
    5. In the keep_log parameter:
      • set the value to 0 to have the SFX menu log file removed automatically.
      • set the value to 1 to disable the automatic removal of the SFX menu log file.
    It is not recommended to disable the deletion of log files for a long period, since this causes a large amount of files to be generated in the /exlibris/sfx_ver/sfx4_1/<instance>/logs directory.
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Security
      • Server Admin Utility
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Documentation
      Language
      English
      Product
      SFX
    2. Tags
      This page has no tags.
    1. © Copyright 2026 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved