]> git.sur5r.net Git - bacula/bacula/commitdiff
Remove debug code
authorKern Sibbald <kern@sibbald.com>
Thu, 27 Sep 2007 15:42:47 +0000 (15:42 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 27 Sep 2007 15:42:47 +0000 (15:42 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5674 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/fd_cmds.c
bacula/src/dird/migrate.c
bacula/src/dird/msgchan.c
bacula/src/dird/ua_output.c
bacula/src/dird/ua_run.c

index 7272325f8d476d55ba58d3b0367bd01f29925f9e..7479a7305635a28a7b386d7a21aaac8ab5e94ac0 100644 (file)
@@ -117,9 +117,6 @@ int connect_to_file_daemon(JCR *jcr, int retry_interval, int max_retry_time,
     */
    fd->fsend(jobcmd, edit_int64(jcr->JobId, ed1), jcr->Job, jcr->VolSessionId,
       jcr->VolSessionTime, jcr->sd_auth_key);
-   if (debug_level == 3) {
-      Dmsg1(000, ">filed: %s", fd->msg);
-   }
    if (strcmp(jcr->sd_auth_key, "dummy") != 0) {
       memset(jcr->sd_auth_key, 0, strlen(jcr->sd_auth_key));
    }
index c0f183d05a4a856ccacf9b6ea8a6540953d60ea4..e239197e352f22d21c2c7377b7fa36ca50afd881 100644 (file)
@@ -1147,7 +1147,6 @@ void migration_cleanup(JCR *jcr, int TermCode)
         /* Mark previous job as migrated */
         Mmsg(query, "UPDATE Job SET Type='%c' WHERE JobId=%s",
              (char)JT_MIGRATED_JOB, edit_uint64(jcr->previous_jr.JobId, ec1));
-        Dmsg1(000, "Mark: %s\n", query.c_str());
         db_sql_query(jcr->db, query.c_str(), NULL, NULL);
      }
      term_msg = _("%s -- no files to migrate");
index b915f55290f15de9fd7eae3eeeaaf07e5c771811..935a9d08ab0764188a620e7cc613db6b79971e5a 100644 (file)
@@ -191,9 +191,6 @@ bool start_storage_daemon_job(JCR *jcr, alist *rstore, alist *wstore)
    Dmsg1(100, ">stored: %s\n", sd->msg);
    if (bget_dirmsg(sd) > 0) {
        Dmsg1(100, "<stored: %s", sd->msg);
-       if (debug_level == 3) {
-          Dmsg1(000, "<stored: %s", sd->msg);
-       }
        if (sscanf(sd->msg, OKjob, &jcr->VolSessionId,
                   &jcr->VolSessionTime, &auth_key) != 3) {
           Dmsg1(100, "BadJob=%s\n", sd->msg);
index 299847fee37668352c911861533133c77909eb8e..66dc23d51bc69e768d21681ff7fae7ba9a67a988 100644 (file)
@@ -557,12 +557,12 @@ RUN *find_next_run(RUN *run, JOB *job, time_t &runtime, int ndays)
             bit_is_set(woy, run->woy);
  
 #ifdef xxx
-         Dmsg2(000, "day=%d is_scheduled=%d\n", day, is_scheduled);
-         Dmsg1(000, "bit_set_mday=%d\n", bit_is_set(mday, run->mday));
-         Dmsg1(000, "bit_set_wday=%d\n", bit_is_set(wday, run->wday));
-         Dmsg1(000, "bit_set_month=%d\n", bit_is_set(month, run->month));
-         Dmsg1(000, "bit_set_wom=%d\n", bit_is_set(wom, run->wom));
-         Dmsg1(000, "bit_set_woy=%d\n", bit_is_set(woy, run->woy));
+         Pmsg2(000, "day=%d is_scheduled=%d\n", day, is_scheduled);
+         Pmsg1(000, "bit_set_mday=%d\n", bit_is_set(mday, run->mday));
+         Pmsg1(000, "bit_set_wday=%d\n", bit_is_set(wday, run->wday));
+         Pmsg1(000, "bit_set_month=%d\n", bit_is_set(month, run->month));
+         Pmsg1(000, "bit_set_wom=%d\n", bit_is_set(wom, run->wom));
+         Pmsg1(000, "bit_set_woy=%d\n", bit_is_set(woy, run->woy));
 #endif
 
          if (is_scheduled) { /* Jobs scheduled on that day */
@@ -576,7 +576,7 @@ RUN *find_next_run(RUN *run, JOB *job, time_t &runtime, int ndays)
                }
             }
             bstrncat(buf, "\n", sizeof(buf));
-            Dmsg1(000, "%s", buf);
+            Pmsg1(000, "%s", buf);
 #endif
             /* find time (time_t) job is to be run */
             (void)localtime_r(&future, &runtm);
index b6ebac71217b0c01795b74cf275f45f0600c3563..b844db6cbc024ee4557800c2685710439156c3df 100644 (file)
@@ -245,7 +245,6 @@ try_again:
 
    if (strncasecmp(ua->cmd, ".mod ", 5) == 0 || 
        (strncasecmp(ua->cmd, "mod ", 4) == 0 && strlen(ua->cmd) > 6)) {
-      Dmsg1(000, "got: %s\n", ua->cmd);
       parse_ua_args(ua);
       rc.mod = true;
       if (!scan_command_line_arguments(ua, rc)) {