We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running this command:
bundle exec kamal app logs -d staging --roles web --skip-timestamps --grep "Rails::HealthController" --grep-options "-v"
I get this error:
grep: grep_options: No such file or directory
Relevant Kamal code:
def logs(version: nil, since: nil, lines: nil, grep: nil, grep_options: nil) pipe \ version ? container_id_for_version(version) : current_running_container_id, "xargs docker logs#{" --since #{since}" if since}#{" --tail #{lines}" if lines} 2>&1", ("grep '#{grep}'#{" #{grep_options}" if grep_options}" if grep) end
grep_options should come before the grep pattern. Currently grep thinks the grep_options are a filename to search in.
grep_options
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running this command:
bundle exec kamal app logs -d staging --roles web --skip-timestamps --grep "Rails::HealthController" --grep-options "-v"
I get this error:
grep: grep_options: No such file or directory
Relevant Kamal code:
grep_options
should come before the grep pattern. Currently grep thinks thegrep_options
are a filename to search in.The text was updated successfully, but these errors were encountered: