mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
haproxy/log switch to new log view https://github.com/opnsense/plugins/issues/1593
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
<patterns>
|
||||
<pattern>ui/haproxy/*</pattern>
|
||||
<pattern>api/haproxy/*</pattern>
|
||||
<pattern>diag_logs_haproxy.php</pattern>
|
||||
<pattern>ui/diagnostics/log/core/haproxy/*</pattern>
|
||||
<pattern>api/diagnostics/log/core/haproxy/*</pattern>
|
||||
</patterns>
|
||||
</page-services-haproxy>
|
||||
</acl>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<Counters VisibleName="Counters" url="/ui/haproxy/statistics#counters"/>
|
||||
<StickTables VisibleName="Stick Tables" url="/ui/haproxy/statistics#tables"/>
|
||||
</Statistics>
|
||||
<Log VisibleName="Log File" order="30" url="/diag_logs_haproxy.php"/>
|
||||
<Log VisibleName="Log File" order="30" url="/ui/diagnostics/log/core/haproxy"/>
|
||||
</HAProxy>
|
||||
</Services>
|
||||
</menu>
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
<?php
|
||||
|
||||
$logfile = '/var/log/haproxy.log';
|
||||
$logclog = true;
|
||||
|
||||
require_once 'diag_logs_template.inc';
|
||||
Reference in New Issue
Block a user