# View the web service logs
bin/logs web
# Show help
bin/logs --help
# View logs for multiple services at once
bin/logs filestore docstore web clsi
# Follow log output (like tail -f)
bin/logs -f filestore docstore web clsi
# Limit the number of lines printed (default 20)
bin/logs -n 50 web
# Show all log lines
bin/logs -n all web
# Redirect output to a file
bin/logs -n all web > web.log
# Last 100 lines of the MongoDB log, and only the lines with errors
bin/logs -n 100 mongo
bin/logs -n all mongo | grep -i -E 'error|fatal'