git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b943b
)
include timestamp into rotation_index
author
Michal Voců
<michal@ruk.cuni.cz>
Thu, 9 Apr 2009 17:32:55 +0000
(17:32 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Thu, 9 Apr 2009 17:32:55 +0000
(17:32 +0000)
org.glite.lb.logger/src/event_store.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.logger/src/event_store.c
b/org.glite.lb.logger/src/event_store.c
index
1b519ef
..
d12bd69
100644
(file)
--- a/
org.glite.lb.logger/src/event_store.c
+++ b/
org.glite.lb.logger/src/event_store.c
@@
-442,7
+442,7
@@
event_store_rotate_file(struct event_store *es)
/* change names in event_store */
es->event_file_name = strdup(newname);
es->control_file_name = astrcat(newname, ".ctl");
- es->rotate_index = num + 1;
+ es->rotate_index =
1000*timestamp +
num + 1;
return(0);
}