Browse Source

Supress debug messages

Yann Weber 4 years ago
parent
commit
dde597d405
3 changed files with 1 additions and 4 deletions
  1. 0
    1
      src/ipc.c
  2. 1
    1
      src/monitor.c
  3. 0
    2
      src/responder.c

+ 0
- 1
src/ipc.c View File

79
 			pyfcgi_IPC_destroy(IPC_SHMST);
79
 			pyfcgi_IPC_destroy(IPC_SHMST);
80
 			return -1;
80
 			return -1;
81
 		}
81
 		}
82
-pyfcgi_log(LOG_INFO, "MMAP LENGHt : %ld", PyFCGI_conf.shm.len);
83
 		PyFCGI_conf.shm.ptr = mmap(NULL, PyFCGI_conf.shm.len,
82
 		PyFCGI_conf.shm.ptr = mmap(NULL, PyFCGI_conf.shm.len,
84
 			PROT_READ | PROT_WRITE, MAP_SHARED, PyFCGI_conf.shm.fd,
83
 			PROT_READ | PROT_WRITE, MAP_SHARED, PyFCGI_conf.shm.fd,
85
 			0);
84
 			0);

+ 1
- 1
src/monitor.c View File

229
 			if(err == EINTR) { continue; }
229
 			if(err == EINTR) { continue; }
230
 			break;
230
 			break;
231
 		}
231
 		}
232
-		pyfcgi_log(LOG_DEBUG, "New client");
232
+		//pyfcgi_log(LOG_DEBUG, "New client");
233
 		if(!inet_ntop(pyfcgi_mon.sockargs[0], (void*)&cliaddr, ipstr, 64))
233
 		if(!inet_ntop(pyfcgi_mon.sockargs[0], (void*)&cliaddr, ipstr, 64))
234
 		{
234
 		{
235
 			pyfcgi_log(LOG_WARNING,
235
 			pyfcgi_log(LOG_WARNING,

+ 0
- 2
src/responder.c View File

186
 		PyFCGI_conf.context.n_wrk = n_wrk;
186
 		PyFCGI_conf.context.n_wrk = n_wrk;
187
 		if(last_update != (now = time(NULL)))
187
 		if(last_update != (now = time(NULL)))
188
 		{
188
 		{
189
-pyfcgi_log(LOG_DEBUG, "Infos : n_wrk=%d max=%d min=%d",
190
-	n_wrk, PyFCGI_conf.max_wrk, PyFCGI_conf.min_wrk);
191
 			pyfcgi_pool_shm_update(n_wrk);
189
 			pyfcgi_pool_shm_update(n_wrk);
192
 			last_update = now;
190
 			last_update = now;
193
 		}
191
 		}

Loading…
Cancel
Save