Lines Matching refs:log_path

179     char log_path[STD_BUF]; /* path to log file */  in OpenLogFile()  local
193 memset((char *) log_path, 0, STD_BUF); in OpenLogFile()
232 SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, in OpenLogFile()
239 SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, in OpenLogFile()
244 SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, in OpenLogFile()
254 SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, in OpenLogFile()
261 SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, in OpenLogFile()
266 SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, in OpenLogFile()
272 DEBUG_WRAP(DebugMessage(DEBUG_FLOW, "Creating directory: %s\n", log_path);); in OpenLogFile()
275 if(mkdir(log_path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)) in OpenLogFile()
281 log_path, strerror(errno)); in OpenLogFile()
293 SnortSnprintf(log_file, STD_BUF, "%s/IP_FRAG%s", log_path, suffix); in OpenLogFile()
300 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
303 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
310 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
313 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
323 SnortSnprintf(log_file, STD_BUF, "%s/IP_FRAG%s", log_path, suffix); in OpenLogFile()
329 SnortSnprintf(log_file, STD_BUF, "%s/%s_%s%s", log_path, "ICMP", in OpenLogFile()
334 SnortSnprintf(log_file, STD_BUF, "%s/PROTO%d%s", log_path, in OpenLogFile()