Revision: 14409
Author: adrian.chadd
Date: Sun Feb 14 01:24:00 2010
Log: address issue 61 - don't create a new logfile buffer for each line
which is logged.
http://code.google.com/p/lusca-cache/source/detail?r=14409
Modified:
/branches/LUSCA_HEAD/src/logfile_mod_daemon.c
=======================================
--- /branches/LUSCA_HEAD/src/logfile_mod_daemon.c Sat Jul 5 05:03:46 2008
+++ /branches/LUSCA_HEAD/src/logfile_mod_daemon.c Sun Feb 14 01:24:00 2010
@@ -335,7 +335,7 @@
/* Kick a write off if the head buffer is -full- */
if (ll->bufs.head != NULL) {
b = ll->bufs.head->data;
- if (b->node.next != NULL || !Config.onoff.buffered_logs)
+ if (b->node.next != NULL)
logfileQueueWrite(lf);
}
}
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.