Subversion Repositories wimsdev

Rev

Rev 15509 | Rev 15551 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15509 Rev 15519
Line 16... Line 16...
16
 */
16
 */
17
 
17
 
18
/* WIMS log daemon */
18
/* WIMS log daemon */
19
 
19
 
20
#include "wimslogd.h"
20
#include "wimslogd.h"
21
 
-
 
-
 
21
/* variables shared with wims.c */
-
 
22
#include "../commun.h"
22
extern char **environ;
23
extern char **environ;
23
 
24
 
24
char cwd[MAX_FNAME+1];
25
char cwd[MAX_FNAME+1];
25
char pidstr[32];
26
char pidstr[32];
26
char keepdate[32]="0";
27
char keepdate[32]="0";
Line 33... Line 34...
33
struct tm *now;
34
struct tm *now;
34
int nowsec, nowmin, nowhr, nowday, nowwday,nowmon,nowyear;
35
int nowsec, nowmin, nowhr, nowday, nowwday,nowmon,nowyear;
35
int startdate;
36
int startdate;
36
char nowstr[64];
37
char nowstr[64];
37
pid_t mypid;
38
pid_t mypid;
38
int idle_time=5000;
-
 
39
int idle_time2=5000;
-
 
40
int idle_time3=5000;
-
 
41
int anti_time=3600*24;      /* antidate tolerance */
39
int anti_time=3600*24;      /* antidate tolerance */
42
int OLD_LOG_FILES=2;
-
 
43
int LOG_DELETE=100;
-
 
44
int GEN_LOG_LIMIT=1024000;
-
 
45
int MODULE_LOG_LIMIT=102400;
-
 
46
int backup_hour=-1;
40
int backup_hour=-1;
47
int site_accounting=0;
41
int site_accounting=0;
48
int modupdatetime=0;
42
int modupdatetime=0;
49
int rshift;      /* shift minute start */
43
int rshift;      /* shift minute start */
50
int commsock;
44
int commsock;