Skip to content

Commit

Permalink
export systemd journal for services
Browse files Browse the repository at this point in the history
Not sure why we have not thought about this...

Signed-off-by: Asad Sajjad Ahmed <[email protected]>
  • Loading branch information
asadsa92 committed Nov 15, 2023
1 parent b96e72f commit 90c37ae
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions varnishgather
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,19 @@ capturelog /var/log/yum.log
capturelog /var/log/dnf.log
capturelog /var/log/user.log

run journalctl -u varnish.service
run journalctl -u varnish-agent.service
run journalctl -u varnish-controller-agent.service
run journalctl -u varnish-controller-api-gw.service
run journalctl -u varnish-controller-brainz.service
run journalctl -u varnish-controller-nats.service
run journalctl -u varnish-controller-ui.service
run journalctl -u vcs.service
run journalctl -u vcs-agent.service
run journalctl -u vstatd.service
run journalctl -u vstatdprobe.service
run journalctl -u vac.service

# ip tables
if (lsmod | grep ip_tables > /dev/null); then
run iptables-save
Expand Down

0 comments on commit 90c37ae

Please sign in to comment.