[core] Don't print debug message about config parser when there's no problem

personal/stbuehler/wip
Thomas Porzelt 13 years ago
parent e1193ec9f6
commit cd10b26497
  1. 4
      src/main/lighttpd.c

@ -129,7 +129,9 @@ int main(int argc, char *argv[]) {
millis = (d - s) / 1000;
micros = (d - s - millis) %1000;
DEBUG(srv, "parsed config file in %lu seconds, %lu milliseconds, %lu microseconds", s, millis, micros);
DEBUG(srv, "option_stack: %u action_list_stack: %u (should be 0:1)", g_queue_get_length(ctx->option_stack), g_queue_get_length(ctx->action_list_stack));
if (g_queue_get_length(ctx->option_stack) != 0 || g_queue_get_length(ctx->action_list_stack))
DEBUG(srv, "option_stack: %u action_list_stack: %u (should be 0:1)", g_queue_get_length(ctx->option_stack), g_queue_get_length(ctx->action_list_stack));
config_parser_finish(srv, ctx_stack, FALSE);
}

Loading…
Cancel
Save