Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to use logrotate to manage Voyager logs

    • Article Type: Q&A
    • Product: Voyager
    • Product Version: 8
    • Relevant for Installation Type: Dedicated-Direct; Direct; Local;

    Question

    How to automate Voyager logs management?

    Answer

    Run "man logrotate" or google logrotate to get more information on command. See attached sample configuration file - logrotate.conf.

    1. SSH to server as root.
    2. Run logrotate manually in test mode: logrotate -dv /etc/logrotate.conf It produces output describing what logrotate would do, without actually doing it.
    3. Save /etc/logrotate.conf
    4. Add new section to /etc/logrotate.conf based on requirement. See sample file for reference.
    5. Verify changes by running: logrotate -dv logrotate.conf

    Attachment

    Example: logrotate.conf

     


    • Article last edited: 19-Oct-2015
    • Was this article helpful?