Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    campusM

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. campusM
    3. Knowledge Articles
    4. Tomcat logs configuration

    Tomcat logs configuration

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Product: campusM

    This article describe an addition to our recommendation for the Tomcat server (Connect Layer) logs configuration. The addition should be put in place in order to prevent logging of sensitive information.

     

    Setup Tomcat Log file

    The campusM on-premise Connect Layer code generates log files on your institution locally-installed Tomcat's log directory. The logs must be managed to ensure they do not cause the disk to run out of space. To mitigate the issue please create a logrotate cron job or similar to compress old log files, e.g. over 2 weeks old. It is suggested to delete or archive compressed log files over 1 month old.

    Make sure to review that the script and process is working adequately once web services are in use on the server, and ensure that all log files are included by the time the campusM service is live.

    Please verify the following configuration to prevent log of sensitive information:

    <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"

    prefix="localhost_access_log." suffix=".txt"

    pattern="%h %l %u %t &quot;%m %U %H&quot; %s %b" />

     

     

     


    • Article last edited: DD-Mmm-YYYY
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Tips for Advanced Document Searching in the Customer Knowledge Center
      • Updating App Privacy Details for the App Store
    • Was this article helpful?

    Recommended articles

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