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

adding parameter value to log #192

Open
yosefy opened this issue Feb 28, 2019 · 2 comments
Open

adding parameter value to log #192

yosefy opened this issue Feb 28, 2019 · 2 comments

Comments

@yosefy
Copy link

yosefy commented Feb 28, 2019

in logging.json i see

"simple": {
"format": "%(asctime)s [%(name)s.%(levelname)s] %(message)s"
}

i need to put first parameter value in there.

(to know which playbook is ran)

is it possible?

thanks

@bugy bugy added the feature label Feb 28, 2019
@bugy
Copy link
Owner

bugy commented Feb 28, 2019

Hi, unfortunately that is not possible at the moment

@bugy
Copy link
Owner

bugy commented Jan 22, 2023

Done, now it's possible to yse ${parameter name} syntax to set logging filename template. Since parameters belong to scripts and not to a server, I added a possibility to override logging configuration for every script. The syntax is the same.
(you can still configure parameter substitution on a server level, but it's not recommended)

bugy added a commit that referenced this issue Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants