Lines Matching refs:log_path

194     char log_path[STD_BUF]; /* path to log file */  in OpenLogFile()  local
210 memset((char *) log_path, 0, STD_BUF); /* bzero() deprecated, replaced by memset() */ in OpenLogFile()
242 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
249 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
254 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
268 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
275 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
280 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
286 DEBUG_WRAP(DebugMessage(DEBUG_FLOW, "Creating directory: %s\n", log_path);); in OpenLogFile()
289 if(mkdir(log_path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)) in OpenLogFile()
295 log_path, strerror(errno)); in OpenLogFile()
307 SnortSnprintf(log_file, STD_BUF, "%s/IP_FRAG%s", log_path, suffix); in OpenLogFile()
314 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
317 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
324 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
327 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
337 SnortSnprintf(log_file, STD_BUF, "%s/IP_FRAG%s", log_path, suffix); in OpenLogFile()
343 SnortSnprintf(log_file, STD_BUF, "%s/%s_%s%s", log_path, "ICMP", in OpenLogFile()
348 SnortSnprintf(log_file, STD_BUF, "%s/PROTO%d%s", log_path, in OpenLogFile()