]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - topuser.c
Display some debug messages when -z is used to track the progress
[thirdparty/sarg.git] / topuser.c
index 8266cf5108234f0c7ebfec895fca2dd33f4b1de8..7618248fd0bc0277b09e03404e147df3d0a529c6 100644 (file)
--- a/topuser.c
+++ b/topuser.c
@@ -84,6 +84,8 @@ void topuser(void)
        struct generalitemstruct item;
        struct userinfostruct *uinfo;
 
+       if (debugz>=LogLevel_Process)
+               debuga(_("Creating top users report...\n"));
        ntopuser = 0;
        snprintf(wger,sizeof(wger),"%s/sarg-general",outdirname);
        if((fp_in=fopen(wger,"r"))==NULL) {