From c0d4e8dbd3532ec8df265f7729bc27038bd5c4b6 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 20 Aug 2002 07:50:26 +0000 Subject: [PATCH] remove debug code git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@110 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/dev.c | 4 ++-- bacula/src/stored/label.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index 4be0de27c5..4f5773f2b0 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -1089,7 +1089,7 @@ void attach_jcr_to_device(DEVICE *dev, JCR *jcr) attached_jcrs->prev_dev = jcr; } attached_jcrs = jcr; - Dmsg1(000, "Attached Job %s\n", jcr->Job); + Dmsg1(100, "Attached Job %s\n", jcr->Job); } void detach_jcr_from_device(DEVICE *dev, JCR *jcr) @@ -1103,7 +1103,7 @@ void detach_jcr_from_device(DEVICE *dev, JCR *jcr) jcr->next_dev->prev_dev = jcr->prev_dev; } jcr->next_dev = jcr->prev_dev = NULL; - Dmsg1(000, "Detached Job %s\n", jcr->Job); + Dmsg1(100, "Detached Job %s\n", jcr->Job); } JCR *next_attached_jcr(DEVICE *dev, JCR *jcr) diff --git a/bacula/src/stored/label.c b/bacula/src/stored/label.c index d4d4a2ea39..a483f4b59f 100644 --- a/bacula/src/stored/label.c +++ b/bacula/src/stored/label.c @@ -399,7 +399,7 @@ int write_volume_label_to_dev(JCR *jcr, DEVRES *device, char *VolName, char *Poo weof_dev(dev, 1); dev->state |= ST_LABEL; - if (debug_level >= 00) { + if (debug_level >= 20) { dump_volume_label(dev); } free_block(block); -- 2.39.2