Lines Matching refs:logfile
58 static char logfile[80];
201 log=fopen(logfile,"a");
385 strcpy(logfile,getenv("HOME"));
386 strcat(logfile,"/");
387 strcat(logfile,"jhttp.log");
389 strcpy(logfile,"/var/log/jhttpd.log");
406 strcpy(logfile,optarg);
420 printf("usage: simple_httpd [[-d directory][-g grpid][-l logfile][-p port][-vD]]\n");
440 if ((access(logfile,W_OK)) && daemonize) {
441 ld = open (logfile,O_WRONLY);
442 chmod (logfile,00600);
452 if (daemonize) printf("logfile: %s\n",logfile);