Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Primo
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Primo
    3. Product Documentation
    4. Primo
    5. System Administration Guide
    6. Performing System Cleanup
    7. Cleaning Primo Log Directories

    Cleaning Primo Log Directories

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    This information is not applicable to Primo VE environments. For more details on Primo VE configuration, see Primo VE.
    Return to menu
    The following scripts allow you to clean the Primo log directories:
    • clean_all_logs.sh—deletes BE, FE, SE logs in an all-in-one environment or a mixed environment (for example, FE and SE roles are assigned to the same machine). This command is stored under the be_bin directory.
    • clean_be_logs.sh—deletes BE logs on servers that are assigned the BE role. This command is stored under the be_bin directory.
    • clean_fe_logs.sh—deletes FE logs on servers that are assigned the FE role. This command is stored under the fe_bin directory.
    • clean_se_logs.sh—deletes SE logs on servers that are assigned the SE role. This command is stored under the se_bin directory.
    To execute a delete Primo log script:
    1. Log on to the server as the primo user.
    2. Enter an alias to move to the directory that contains the log script that you want to run. For example, to run the clean_all_logs.sh script, enter the following command:
      be_bin
    3. Enter the delete log script. For example, to clear all log directories, enter the following command:
      ./clean_all_logs.sh [number of days old]
      If you do not specify a value for [number of days old], the default value of 30 days is used.
    4. At the following prompt, enter y to delete the log files that are 30 days old:
      Are you certain you want to delete the BE, FE and SE logs that are 30 days old? Continue? y/n:
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Removing Unwanted Data
      • Cleaning Apache Log Directories
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Documentation
      Language
      English
      Product
      Primo
    2. Tags
      1. contype:docum
      2. Performing System Cleanup
      3. Prod:Primo
      4. System Administration Guide
    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