Changeset 125 for trunk/src/renetcol.c

Show
Ignore:
Timestamp:
10/26/10 16:53:14 (12 years ago)
Author:
andreu
Message:

syslog output parameters modification - new web page for monitoring site (log, introduction)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/renetcol.c

    r121 r125  
    8686static struct sockaddr_in name2; 
    8787static struct sockaddr_in fromName; 
     88char *log = "renetcol"; 
    8889#ifdef READFROMFILE 
    8990  char *myPcapFileName, errBuffer[PCAP_ERRBUF_SIZE]; 
     
    133134#endif 
    134135 
    135   openlog(argv[0], LOG_PID, LOG_USER); 
     136  /*   openlog(argv[0], LOG_PID, LOG_USER);*/ 
     137  openlog(log, NULL, LOG_LOCAL7); 
    136138 
    137139  initCache();