logging: restore call to log_message_handler::Install()

I missed this when moving shared components to SystemRewriteDriverFactory;
this call used to be in NgxRewriteDriverFactory::RootInit.  Without it we only
log VLOG(0), not VLOG(1) and VLOG(2) the way Apache does.

Fixes #518.
This commit is contained in:
Jeff Kaufman
2013-10-04 17:50:19 -04:00
parent 1e5769df11
commit d4fa76463d
+1
View File
@@ -206,6 +206,7 @@ void NgxRewriteDriverFactory::StartThreads() {
}
void NgxRewriteDriverFactory::LoggingInit(ngx_log_t* log) {
net_instaweb::log_message_handler::Install(log);
if (install_crash_handler_) {
NgxMessageHandler::InstallCrashHandler(log);
}