From 193b951658045fef4034e40d560128aab1b1a82b Mon Sep 17 00:00:00 2001 From: Frederic Marchal Date: Thu, 19 Mar 2015 21:01:21 +0100 Subject: [PATCH] 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. --- log.c | 2 +- sarg.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.5