Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  16 May 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
    Reply  16 May 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
       Reply  16 May 2023, Stefan Ritt, Bug Report, excessive logging of http requests 
       Reply  02 Aug 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
          Reply  03 Aug 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
             Reply  14 Aug 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
                Reply  16 Aug 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
                   Reply  17 Aug 2023, Konstantin Olchanski, Bug Report, excessive logging of http requests 
Message ID: 2517     Entry time: 16 May 2023     In reply to: 2516     Reply to this: 2518   2568
Author: Konstantin Olchanski 
Topic: Bug Report 
Subject: excessive logging of http requests 
> Our default configuration of apache httpd logs every request. MIDAS custom web pages can easily make a huge number of RPC calls creating a 
> huge log file and filling system disk to 100% capacity

perhaps use existing logrotate, add limit on file size (size) and limit of 2 old log files (rotate).

/etc/logrotate.d/httpd

/var/log/httpd/*log { 
    size 100M 
    rotate 2 
    missingok 
    notifempty 
    sharedscripts 
    delaycompress 
    postrotate 
        /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true 
    endscript 
} 

K.O.
ELOG V3.1.4-2e1708b5