summaryrefslogtreecommitdiff
path: root/scripts/logs
blob: 7cec0c618c9a7a42a0e0e263cc165024e23f7df8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# Fetch logs from the production task-dashboard service
#
# Usage:
#   scripts/logs          # last 100 lines
#   scripts/logs -f       # follow (tail -f)
#   scripts/logs -n 500   # last 500 lines
#   scripts/logs --since "1 hour ago"
#   scripts/logs --grep "error"

ssh titanium journalctl -u task-dashboard@doot.terst.org --no-pager "$@"