Changeset 18005 in main


Ignore:
Timestamp:
02/10/19 13:18:02 (3 years ago)
Author:
Paul Leo
Message:

Implemented log rotation. Next step implement remove old logs

Location:
adopters/md/trunk/src/main/reverse_proxy/conf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • adopters/md/trunk/src/main/reverse_proxy/conf/extra/httpd-ssl.conf

    r18004 r18005  
    125125ServerName ibisinternal:443
    126126ServerAdmin admin@example.com
    127 ErrorLog "${SRVROOT}/logs/error.log"
    128 TransferLog "${SRVROOT}/logs/access.log"
     127ErrorLog "|C:/Apache24/bin/rotatelogs.exe -l C:/Apache24/logs/SSL_error_log.%Y-%m-%d.log 10MB"
     128#CustomLog "|C:/Apache24/bin/rotatelogs.exe -l C:/Apache24/logs/accesslog.%Y-%m-%d-%H-%M-%S.log 10  " combinedio
     129#TransferLog "${SRVROOT}/logs/access.log"
     130TransferLog "|C:/Apache24/bin/rotatelogs.exe -l C:/Apache24/logs/access.%Y-%m-%d.log 86400"
     131
    129132
    130133#   SSL Engine Switch:
     
    291294#   The home of a custom SSL log file. Use this when you want a
    292295#   compact non-error SSL logfile on a virtual host basis.
    293 CustomLog "${SRVROOT}/logs/ssl_request.log" \
    294           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
    295                  
     296#CustomLog "${SRVROOT}/logs/ssl_request.log" \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
     297#####Uncomment next two lines to see ssl_request.log which shows SSL protocol and CIPHer
     298#LogFormat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" sslrequest
     299#CustomLog "|C:/Apache24/bin/rotatelogs.exe -l C:/Apache24/logs/ssl_request.%Y-%m-%d.log  86400" sslrequest               
    296300                 
    297301                 
  • adopters/md/trunk/src/main/reverse_proxy/conf/httpd.conf

    r18004 r18005  
    301301# container, that host's errors will be logged there and not here.
    302302#
    303 ErrorLog "logs/error.log"
     303#ErrorLog "logs/error.log"
     304ErrorLog "|C:/Apache24/bin/rotatelogs.exe -l C:/Apache24/logs/error_log.%Y-%m-%d.log 10MB"
    304305
    305306#
     
    329330    # define per-<VirtualHost> access logfiles, transactions will be
    330331    # logged therein and *not* in this file.
    331     #
    332     CustomLog "logs/access.log" common
     332    # NOTE USING LOG DEFINED IN hhpd-ssl.conf
     333    #CustomLog "logs/access.log" common
    333334
    334335    #
Note: See TracChangeset for help on using the changeset viewer.