Skip to content

Include script name in Shlog functions #10

Description

The log output of Shlog functions, should include the script name between username and pid to be consistent with Shlogger log rotation utility. BASH_SOURCE does not work as it picks up the shloglib.sh script name.

When solved, update shlog utility to provide -n {ScriptName} to shlogger utility to maintain consistent output.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions