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

Rework logging mechanisms #417

Merged
merged 5 commits into from
May 4, 2023
Merged

Rework logging mechanisms #417

merged 5 commits into from
May 4, 2023

Conversation

o-orand
Copy link
Member

@o-orand o-orand commented May 3, 2023

Changes proposed in this pull-request:

  • support debug mode to disable pipeline dump
  • lib(*): use a logger instead of stdout
  • pipeline(bosh): reduce duplication in generated yaml

Unless we are using a large root deployment, it does not really matter how we generate the bosh pipeline. But when used with COAB, it can make a huge difference.
@o-orand o-orand self-assigned this May 3, 2023
@o-orand o-orand added this to the 6.1 milestone May 3, 2023
to reduce amount of log generated on stdout, we use a logger.
Since we no longer have a public CF instance to run our tests, we disable it.
```
# Log configuration is only available in private-config.yml
log:
  output: STDOUT # Use stdout to have log displayed in concourse, instead of a file. Default: File
  level: Debug # We don't need to customize this value, as it is set to debug by default. Valid values: Debug, Info, Warn and Error
  date-format: "-" # Disable date as we already have a timestamp in concourse. Default: "%Y-%m-%dT%H:%M:%S.%6N"
  ```
@o-orand o-orand force-pushed the rework-logging-mechanisms branch from ceae06c to e8335ee Compare May 4, 2023 15:26
@o-orand o-orand merged commit 0e2f302 into develop May 4, 2023
@o-orand o-orand deleted the rework-logging-mechanisms branch May 4, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant