char time_str[APR_CTIME_LEN];
apr_ctime(time_str, apr_time_now());
- ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
+ ap_log_error(APLOG_MARK, APLOG_CRIT | APLOG_NOERRNO, 0, NULL,
"[%s] file %s, line %d, assertion \"%s\" failed",
time_str, szFile, nLine, szExp);
-#if !defined(WIN32) && !defined(NETWARE)
+#if defined(WIN32)
+ DebugBreak();
+#elif defined(NETWARE)
+ exit(1);
+#else
/* unix assert does an abort leading to a core dump */
abort();
-#else
- exit(1);
#endif
}