From: Frederic Marchal Date: Thu, 19 Mar 2015 20:01:21 +0000 (+0100) Subject: Real time report takes POST into account X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=193b951658045fef4034e40d560128aab1b1a82b;p=thirdparty%2Fsarg.git Real time report takes POST into account As PUT and POST are very similar, there is no point in including the former into the real time report and not the latter. --- diff --git a/log.c b/log.c index 57cbc7e..99df562 100644 --- a/log.c +++ b/log.c @@ -205,7 +205,7 @@ int main(int argc,char *argv[]) NtlmUserFormat=NTLMUSERFORMAT_DOMAINUSER; IndexTree=INDEX_TREE_FILE; IndexFields=INDEXFIELDS_DIRSIZE; - strcpy(RealtimeTypes,"GET,PUT,CONNECT"); + strcpy(RealtimeTypes,"GET,PUT,CONNECT,POST"); RealtimeUnauthRec=REALTIME_UNAUTH_REC_SHOW; RedirectorFilterOutDate=true; DansguardianFilterOutDate=true; diff --git a/sarg.conf b/sarg.conf index f56d0fa..351b01f 100644 --- a/sarg.conf +++ b/sarg.conf @@ -779,7 +779,7 @@ # TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST # Which records must be in realtime report. # -# realtime_types GET,PUT,CONNECT +# realtime_types GET,PUT,CONNECT,POST # TAG: realtime_unauthenticated_records: ignore|show # What to do with unauthenticated records in realtime report.