static void do_director_status(UAContext *ua)
{
char dt[MAX_TIME_LENGTH];
+ char b1[35], b2[35], b3[35], b4[35];
bsendmsg(ua, _("%s Version: %s (%s) %s %s %s\n"), my_name, VERSION, BDATE,
HOST_OS, DISTNAME, DISTVER);
bsendmsg(ua, _("Daemon started %s, %d Jobs run since started.\n"),
dt, num_jobs_run);
}
- if (debug_level > 0) {
- char b1[35], b2[35], b3[35], b4[35];
- bsendmsg(ua, _(" Heap: bytes=%s max_bytes=%s bufs=%s max_bufs=%s\n"),
+ bsendmsg(ua, _(" Heap: bytes=%s max_bytes=%s bufs=%s max_bufs=%s\n"),
edit_uint64_with_commas(sm_bytes, b1),
edit_uint64_with_commas(sm_max_bytes, b2),
edit_uint64_with_commas(sm_buffers, b3),
edit_uint64_with_commas(sm_max_buffers, b4));
- }
+
/*
* List scheduled Jobs
*/
if (type == M_ABORT){
char *p = 0;
+ printf("Bacula forced SEG FAULT to obtain traceback.\n");
+ syslog(LOG_DAEMON|LOG_ERR, "Bacula forced SEG FAULT to obtain traceback.\n");
p[0] = 0; /* generate segmentation violation */
}
if (type == M_ERROR_TERM) {
#undef VERSION
#define VERSION "1.39.25"
-#define BDATE "07 October 2006"
-#define LSMDATE "07Oct06"
+#define BDATE "08 October 2006"
+#define LSMDATE "08Oct06"
#define BYEAR "2006" /* year for copyright messages in progs */
/* Debug flags */
Technical notes on version 1.39
General:
+08Oct06
+kes Turn on heap reporting in Dir with zero debug level.
+kes Send a message to the sys log when Bacula forces a SEG FAULT, and
+ send the same message to stdout.
07Oct06
kes Begin work on new GUI "console".
kes Make configure look in non-standard MySQL library directory