[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/rbm][main] Bug 40061: Log copy of input_files when the RBM_VERBOSE_LOG environment variable is set



Title: GitLab

boklm pushed to branch main at The Tor Project / Applications / RBM

Commits:

  • fb51b232
    by Nicolas Vigier at 2023-09-18T08:30:49+02:00
    Bug 40061: Log copy of input_files when the RBM_VERBOSE_LOG environment variable is set
    

1 changed file:

Changes:

  • lib/RBM.pm
    ... ... @@ -1229,6 +1229,10 @@ sub build_run {
    1229 1229
                         exec_name => 'put',
    
    1230 1230
                         exec_as_root => 0,
    
    1231 1231
                     });
    
    1232
    +            if ($ENV{RBM_VERBOSE_LOG}) {
    
    1233
    +                my $now = localtime;
    
    1234
    +                path($build_log)->append_utf8("[$now] Copying file $file\n");
    
    1235
    +            }
    
    1232 1236
                 if (run_script($project, $cmd, sub { system(@_) }) != 0) {
    
    1233 1237
                     $error = "Error uploading $file";
    
    1234 1238
                     goto EXIT;
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits