grog logs
grog logs
Print the latest log file for the given target.
Synopsis
Displays the contents of the most recent log file for a specified target. Use the —path-only flag to only print the path to the log file instead of its contents.
grog logs [flags]
Examples
grog logs //path/to/package:target # Show log contents grog logs -p //path/to/package:target # Show only the log file path
Options
-h, --help help for logs -p, --path-only Only print out the path of the target logs
Options inherited from parent commands
-a, --all-platforms Select all platforms (bypasses platform selectors) --color string Set color output (yes, no, or auto) (default "auto") --debug Enable debug logging --enable-cache Enable cache (default true) --exclude-tag strings Exclude targets by tag. Can be used multiple times. Example: --exclude-tag=foo --exclude-tag=bar --fail-fast Fail fast on first error --load-outputs string Level of output loading for cached targets. One of: all, minimal. (default "all") --profile string Select a configuration profile to use --stream-logs Forward all target build/test logs to stdout/-err --tag strings Filter targets by tag. Can be used multiple times. Example: --tag=foo --tag=bar -v, --verbose count Set verbosity level (-v, -vv)
SEE ALSO
- grog -