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

Set log level when using github action. #445

Closed
hkadakia opened this issue Mar 4, 2024 · 0 comments · Fixed by #446
Closed

Set log level when using github action. #445

hkadakia opened this issue Mar 4, 2024 · 0 comments · Fixed by #446

Comments

@hkadakia
Copy link

hkadakia commented Mar 4, 2024

By default the log level set is debug. Is it possible to configure the log level?

Run anchore/sbom-action@fd74a6fb98a204a1ad35bbfae0122c1a302ff88b
[0000]  INFO syft version: 0.97.1
  
  [0000] DEBUG config:
    log:
        quiet: false
        level: debug
        file: ""

[0000] DEBUG image metadata: digest=sha256:1a706d0b1e225bd02213f78253d754184d0ad48ad444692ee61d42c79fec86b9 mediaType=application/vnd.docker.distribution.manifest.v2+json tags=[]
  
  [0000] DEBUG layer metadata: index=0 digest=sha256:02a5a715269e2f45851bfbc5c7394e062442d8b12e1c3b7934c24a5fe9fa72f4 mediaType=application/vnd.docker.image.rootfs.diff.tar.gzip
  
  [0011] DEBUG layer metadata: index=1 digest=sha256:cda67039292b2a826f7b07ecec3b88eb9fe7d026b03b8f5dbcb0bec35800e730 mediaType=application/vnd.docker.image.rootfs.diff.tar.gzip
  
  [0011] DEBUG layer metadata: index=2 digest=sha256:7e712fa4c20694649a731d22b9cd220052919a97dfef57d46897b4b241ce3a3b mediaType=application/vnd.docker.image.rootfs.diff.tar.gzip
...
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

Successfully merging a pull request may close this issue.

1 participant