Crush writes logs to a file in your project and bundles CLI commands for reading them.
Sometimes you need to look at logs. Luckily, Crush logs all sorts of stuff. Logs are stored in ./.crush/logs/crush.log relative to the project.
The CLI also contains some helper commands to make perusing recent logs easier:
# Print the last 1000 linescrush logs # Print the last 500 linescrush logs --tail 500 # Follow logs in real timecrush logs --followWant more logging? Run crush with the --debug flag, or enable it in your crushrc:
# crushrcoption debug trueoption debug-lsp trueRead this post in your terminal with glow:glow -p https://crush.charm.land/advanced/logging.md
