Revision: 14831
Author: roelf.diedericks
Date: Sun Dec 12 13:21:11 2010
Log: Hmm, I seem to have broken actual normall logging with r14830 :(
http://code.google.com/p/lusca-cache/source/detail?r=14831
Modified:
/branches/LUSCA_HEAD/src/main.c
=======================================
--- /branches/LUSCA_HEAD/src/main.c Sun Dec 12 13:15:13 2010
+++ /branches/LUSCA_HEAD/src/main.c Sun Dec 12 13:21:11 2010
@@ -430,8 +430,10 @@
setUmask(Config.umask);
setEffectiveUser();
_db_init(Config.debugOptions);
- if (opt_no_daemon)
- _db_init_log(NULL);
+ if (opt_no_daemon)
+ _db_init_log(NULL);
+ else
+ _db_init_log(Config.Log.log);
/* XXX the ipcache/fqdncache config variables need to be set before
this is called! */
ipcache_local_params();
@@ -581,8 +583,11 @@
Config.Port.icp = (u_short) icpPortNumOverride;
_db_init(Config.debugOptions);
- if (opt_no_daemon)
- _db_init_log(NULL);
+ if (opt_no_daemon)
+ _db_init_log(NULL);
+ else
+ _db_init_log(Config.Log.log);
+
fd_open(fileno(debug_log), FD_LOG, Config.Log.log);
#if MEM_GEN_TRACE
log_trace_init("/tmp/squid.alloc");
--
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.