summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2022-07-06 11:52:58 +0300
committeraapostoliuk <a.apostoliuk@vyos.io>2022-07-06 11:52:58 +0300
commit369dd01c7765b17d196492a5df4fe3c8009275e2 (patch)
tree4533490d7d8cc039ae60cb2a0d809f9b13d07154
parent2010c7de9e1f9abe278a01216ba45e74bfc4763e (diff)
downloadvyos-1x-369dd01c7765b17d196492a5df4fe3c8009275e2.tar.gz
vyos-1x-369dd01c7765b17d196492a5df4fe3c8009275e2.zip
webproxy: T4513: Fixed path to webroxy log files
Fixed path to webproxy log files in webproxy monitor commands
-rw-r--r--op-mode-definitions/webproxy.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/webproxy.xml.in b/op-mode-definitions/webproxy.xml.in
index f8ec8fb0a..5ae1577d8 100644
--- a/op-mode-definitions/webproxy.xml.in
+++ b/op-mode-definitions/webproxy.xml.in
@@ -12,7 +12,7 @@
<properties>
<help>Monitor the last lines of the squid access log</help>
</properties>
- <command>if [ -f /var/log/squid3/access.log ]; then sudo tail --follow=name /var/log/squid3/access.log; else echo "WebProxy cache-log does not exist"; fi</command>
+ <command>if [ -f /var/log/squid/access.log ]; then sudo tail --follow=name /var/log/squid/access.log; else echo "WebProxy access-log does not exist"; fi</command>
</node>
<node name="background">
<properties>
@@ -37,7 +37,7 @@
<properties>
<help>Monitor the last lines of the squid cache log</help>
</properties>
- <command>if [ -f /var/log/squid3/cache.log ]; then sudo tail --follow=name /var/log/squid3/cache.log; else echo "WebProxy cache-log does not exist"; fi</command>
+ <command>if [ -f /var/log/squid/cache.log ]; then sudo tail --follow=name /var/log/squid/cache.log; else echo "WebProxy cache-log does not exist"; fi</command>
</node>
</children>
</node>