Menu

HTTPD Errors

2018-08-14
2018-08-15
  • Steve Valliere

    Steve Valliere - 2018-08-14

    This morning I had an HTTPD Errors section in my daily logwatch report. Unfortunately, it only shows cryptic code values and a count for each (which was 1 for each of the three in this instance.) This seems like a case when it would be good to show the text that follows the code so that the user noes not need to go search through old log files to find the potentially important information. For example, instead of showing:

    Error Code: AH02811:       1 Time(s)
    

    how about showing:

    Error:   AH02811: script not found or unable to stat: /usr/lib/cgi-bin/luci
    

    instead? I think this should be possible, maybe there is even an option to enable this that I have not yet discovered (he thought [hopefully] out loud).

     
  • Bjorn

    Bjorn - 2018-08-15

    You can customize the verbosity with the Detail setting. The Detail levels are described in the http-error.conf file. (For a default installation, it would be in /usr/share/logwatch/default.conf/services/http-error.conf. The simplest way to override it permanently is to include a "Detail = 10" line in a newly created /etc/logwatch/conf/services/http-error.conf file (or whatever level of Detail you prefer).

     

Log in to post a comment.