Skip to content

Add PS4 variable to host #86

Description

@corentincarton

Is your feature request related to a problem? Please describe.

A very useful thing would be to add a PS4 variable to improve logging and display the time together with the line of the script. For instance:

export PS4="[ \D{%Y-%m-%dT%H:%M:%S} | L$LINENO ] --> "
 
set -TEexuva -o pipefail +v

Thanks @vandome for the suggestion!

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Organisation

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions