Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include script name in Shlog functions #10

Open
jsware opened this issue Feb 16, 2019 · 0 comments
Open

Include script name in Shlog functions #10

jsware opened this issue Feb 16, 2019 · 0 comments

Comments

@jsware
Copy link
Collaborator

jsware commented Feb 16, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants