summaryrefslogtreecommitdiff
path: root/op-mode-definitions
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 15:21:28 +0300
commitd9bf37bc58ca299b5838b0414f180fa5c17c02e7 (patch)
treed0d39d4124e2eca92e1e643856569cf915d95619 /op-mode-definitions
parent459f8ea10227b5644083ddcf8a0e8b63faa22313 (diff)
downloadvyos-1x-d9bf37bc58ca299b5838b0414f180fa5c17c02e7.tar.gz
vyos-1x-d9bf37bc58ca299b5838b0414f180fa5c17c02e7.zip
webproxy: T4513: Fixed path to webroxy log files
Fixed path to webproxy log files in webproxy monitor commands
Diffstat (limited to 'op-mode-definitions')
-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>