Commit f2b3ccb2 authored by 's avatar
Browse files

try to fix bug #475

git-svn-id: file:///home/svn/mapi/trunk@1309 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent c6bf7e04
......@@ -13,6 +13,7 @@
char *debug_message_file = NULL; // filename information
int debug_message_line = 0; // line number information
int log_level = LOGGING_DISABLED, log_to_syslog = 0, log_to_file = 0, log_fd_debug = -1; // support for logging to file & syslog
void write_to_debug_file(int log_fd, char *msg, ...){
......
......@@ -64,8 +64,6 @@ static int totalflows=0; // number of flows so far (including closed flows)
static int offline_devices;
static int agent=0;
int log_level = LOGGING_DISABLED, log_to_syslog = 0, log_to_file = 0, log_fd_debug = -1; // support for logging to file & syslog
extern const errorstruct Errors[];
#ifdef DIMAPI
......
......@@ -29,8 +29,7 @@
int service_count;
int dimapi_port;
int log_fd_info = -1, log_fd_debug = -1, log_to_file = 0; // support for logging to file & syslog
int log_level = LOGGING_DISABLED, log_to_syslog = 0;
int log_fd_info = -1; // support for logging to file
static char daemonize = 0;
......
......@@ -178,8 +178,7 @@ static global_function_list_t* gflist;
static char* mapidsocket;
static char* mapid_conf;
int log_fd_info = -1, log_fd_debug = -1, log_to_file = 0; // support for logging to file & syslog
int log_level = LOGGING_DISABLED, log_to_syslog = 0;
int log_fd_info = -1; // support for logging to file
static void
mapid_shutdown (int data)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment