Purging and archiving IBM HTTP server access_log - Websphere

This is a discussion on Purging and archiving IBM HTTP server access_log - Websphere ; We are using WebSphere Commerce and we have a separate machine that runs the IBM HTTP server. Our log files are stored in /opt/IBMIHS/conf/httplogs/access_log /opt/IBMIHS/conf/httplogs/error_log I want to be able to do this: Once each file reaches 50M, archive the ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Purging and archiving IBM HTTP server access_log

  1. Purging and archiving IBM HTTP server access_log

    We are using WebSphere Commerce and we have a separate machine that runs the IBM HTTP server.

    Our log files are stored in
    /opt/IBMIHS/conf/httplogs/access_log
    /opt/IBMIHS/conf/httplogs/error_log

    I want to be able to do this:
    Once each file reaches 50M, archive the old contents to another file name.
    Keep 3 of these older files the same way Linux rotates files.

    The latest files are still
    /opt/IBMIHS/conf/httplogs/access_log
    /opt/IBMIHS/conf/httplogs/error_log

    and the server will continue to write to them without restarting.

    How do I do this for the IBM HTTP server?

  2. Re: Purging and archiving IBM HTTP server access_log


+ Reply to Thread