c0180_vv

Log reference:

    loading [Config]:  ./tests/functests/upconfig.yml
    Main config:
                 Version -> 1.0.0
                  RefDir -> ./tests/functests
                 WorkDir -> cwd
              AbsWorkDir -> /up_project/up
                TaskFile -> c0180
                 Verbose -> vv
              ModuleName -> self
               ShellType -> /bin/sh
           MaxCallLayers -> 8
                 Timeout -> 3600000
     MaxModuelCallLayers -> 256
               EntryTask -> task
      ModRepoUsernameRef -> 
      ModRepoPasswordRef -> 
    work dir: /up_project/up
    -exec task: task
    loading [Task]:  ./tests/functests/c0180
    module: [self], instance id: [dev], exec profile: []
    Task1: [task ==> task:  ]
    -Step1: [: the output of cat would be silent ]
    cmd( 1):
    echo """{{.msg}}""" > /tmp/msg
    
    -
    
    -
     .. ok
    cmd( 2):
    cat /tmp/msg
    
    -
    
    -
     .. ok
    . ok
    -Step2: [: explicitly show the the shell exec result ]
    ~SubStep1: [print:  ]
    hello, world
    thank you
    hello tom
    good buy
    -Step3: [: the silent will not affect output of failed shell execution ]
    cmd( 1):
    >&2 echo "encountering an error"
    exit -1
    
    
    -
    encountering an error
    /bin/sh: exit: line 2: Illegal number: -1
    
    -
     .. failed(suppressed if it is not the last step)
     WARN: [ignoreError:] - [Error ignored!!!]
    -Step4: [
    silient only one sub step but not all
    in this case, it will make sub step 1 msg1 silent but not the msg2
    ]
    cmd( 1):
    echo """{{.msg1}}"""
    
    -
    
    -
     .. ok
    cmd( 2):
    echo """{{.msg2}}"""
    
    -
    sub step2
    
    -
     .. ok
    . ok
    -Step5: [
    silient only one sub step but not all
    in this case, it will make sub step 2 msg2 silent but not the msg1
    ]
    cmd( 1):
    echo """{{.msg1}}"""
    
    -
    sub step1
    
    -
     .. ok
    cmd( 2):
    echo """{{.msg2}}"""
    
    -
    
    -
     .. ok
    . ok
    -Step6: [
    if there are combined flags of silent and silent-x, silent will take priority, then there will be no output for all of the sub steps
    ]
    cmd( 1):
    echo """{{.msg1}}"""
    
    -
    
    -
     .. ok
    cmd( 2):
    echo """{{.msg2}}"""
    
    -
    
    -
     .. ok
    . ok
    
Logs with different verbose level
References