Skip to content

Add PS4 variable to host #86

@corentincarton

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

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