Skip to content

Commit

Permalink
Fix 'System Log' probe journalctl needs -r when using -n
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf committed Jan 10, 2024
1 parent 18eb900 commit e04201e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"main": "server.js",
"description": "WurmTerm, a friendly wurm walking along your SSH sessions. Backend service.",
"license": "GPL-3.0",
"version": "0.9.5",
"version": "0.9.6",
"repository": {
"type": "git",
"url": "https://github.com/lwindolf/wurmterm-backend.git"
Expand Down
2 changes: 1 addition & 1 deletion probes/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
}
},
"System Log": {
"command": "/bin/journalctl -k -p 0..3 -S '12 hours ago' -n 10 | /bin/egrep -v '(Logs begin at|No entries)'",
"command": "/bin/journalctl -k -r -p 0..4 -S '12 hours ago' -n 50 | /bin/egrep -v '(Logs begin at|No entries)'",
"initial": "True",
"refresh": 60,
"render" : {
Expand Down

0 comments on commit e04201e

Please sign in to comment.