diff options
author | sr55 <[email protected]> | 2019-09-01 21:29:11 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2019-09-08 12:16:46 +0100 |
commit | 0d5d26226a9a15aa3c730b60933e566ebd6bdf72 (patch) | |
tree | 07724211f0d4e93703871dff5fb32936c319eae0 /libhb | |
parent | 0fe6a195ba1f8ab30e8d4db15f13baa5854517d9 (diff) |
Logging Improvements "Change Job" -> "Work"
Added Start and End Date/Time #2006
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/work.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libhb/work.c b/libhb/work.c index d904cb482..521679faa 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -102,6 +102,8 @@ static void work_func( void * _work ) hb_work_t * work = _work; hb_job_t * job; + time_t t = time(NULL); + hb_log("Starting work at: %s", asctime(localtime(&t))); hb_log( "%d job(s) to process", hb_list_count( work->jobs ) ); while( !*work->die && ( job = hb_list_item( work->jobs, 0 ) ) ) @@ -168,7 +170,8 @@ static void work_func( void * _work ) // TODO: Fix this ugly hack! hb_force_rescan(h); } - + + hb_log("Finished work at: %s", asctime(localtime(&t))); free( work ); } @@ -1450,15 +1453,15 @@ static void do_job(hb_job_t *job) if (job->indepth_scan) { - hb_log( "Starting Job: Subtitle Scan" ); + hb_log( "Starting Task: Subtitle Scan" ); } else if (job->pass_id == HB_PASS_ENCODE_1ST) { - hb_log( "Starting Job: Encode First Pass" ); + hb_log( "Starting Task: Encode First Pass" ); } else { - hb_log( "Starting Job: Encode Second Pass" ); + hb_log( "Starting Task: Encode Second Pass" ); } // This must be performed before initializing filters because |