]> git.sur5r.net Git - bacula/bacula/commitdiff
Enhance FD status to have level
authorKern Sibbald <kern@sibbald.com>
Tue, 19 Jan 2010 12:25:22 +0000 (13:25 +0100)
committerKern Sibbald <kern@sibbald.com>
Tue, 19 Jan 2010 12:25:22 +0000 (13:25 +0100)
bacula/src/filed/status.c

index 6d7c9350460b191b954e159036c6f2ea58eec230..ce570b93d1851876f638e3413fb17573472d24b1 100644 (file)
@@ -191,8 +191,9 @@ static void  list_running_jobs(STATUS_PKT *sp)
          len = Mmsg(msg, _("JobId %d Job %s is running.\n"),
                     njcr->JobId, njcr->Job);
          sendit(msg.c_str(), len, sp);
-         len = Mmsg(msg, _("    %s%s Job started: %s\n"),
-                    vss, job_type_to_str(njcr->getJobType()), dt);
+         len = Mmsg(msg, _("    %s%s %s Job started: %s\n"),
+                    vss, level_to_str(njcr->getJobLevel()), 
+                    job_type_to_str(njcr->getJobType()), dt);
       }
       sendit(msg.c_str(), len, sp);
       if (njcr->JobId == 0) {