Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-4574

hop-run logging levels are ignored for workflow

    XMLWordPrintableJSON

Details

    Description

      After upgrade from 2.0.0 to 2.1.0 my scripts are too verbose:

      [cmdbrun@cmdbetlprod cmdbetl-develop]$ $HOME/app/hop-2.0.0/hop-run.sh -e Int -f /data/cmdbrun/cmdbetl-develop/tools/log-error.hwf -l NOTHING -r local | head
      [cmdbrun@cmdbetlprod cmdbetl-develop]$ $HOME/app/hop-2.1.0/hop-run.sh -e Int -f /data/cmdbrun/cmdbetl-develop/tools/log-error.hwf -l NOTHING -r local | head
      2022/11/08 14:12:13 - log-error - Start of workflow execution
      2022/11/08 14:12:13 - Error subject - ERROR: Error message
      2022/11/08 14:12:13 - log-error - Starting action [Write to log]
      2022/11/08 14:12:13 - log-error - Finished action [Write to log] (result=[true])
      2022/11/08 14:12:13 - log-error - Workflow execution finished
      2022/11/08 14:12:13 - log-error - Workflow duration : 0.033 seconds [  0.033" ]
      [cmdbrun@cmdbetlprod cmdbetl-develop]$ $HOME/app/hop-2.0.0/hop-run.sh -e Int -f /data/cmdbrun/cmdbetl-develop/tools/log-error.hwf -l ERROR -r local | head
      2022/11/08 14:12:44 - Error subject - ERROR: Error message
      [cmdbrun@cmdbetlprod cmdbetl-develop]$ $HOME/app/hop-2.1.0/hop-run.sh -e Int -f /data/cmdbrun/cmdbetl-develop/tools/log-error.hwf -l ERROR -r local | head
      2022/11/08 14:13:04 - log-error - Start of workflow execution
      2022/11/08 14:13:04 - Error subject - ERROR: Error message
      2022/11/08 14:13:04 - log-error - Starting action [Write to log]
      2022/11/08 14:13:04 - log-error - Finished action [Write to log] (result=[true])
      2022/11/08 14:13:04 - log-error - Workflow execution finished
      2022/11/08 14:13:04 - log-error - Workflow duration : 0.033 seconds [  0.033" ]
      

      Attachments

        1. log-error.hwf
          1 kB
          Jozef Kotlár

        Issue Links

          Activity

            People

              hansva Hans Van Akelyen
              dodok1 Jozef Kotlár
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m