mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-07 23:30:26 +08:00
访问日志可以设置只记录WAF相关日志
This commit is contained in:
@@ -20,7 +20,9 @@ Vue.component("http-access-log-config-box", {
|
|||||||
status5: true,
|
status5: true,
|
||||||
|
|
||||||
storageOnly: false,
|
storageOnly: false,
|
||||||
storagePolicies: []
|
storagePolicies: [],
|
||||||
|
|
||||||
|
firewallOnly: false
|
||||||
}
|
}
|
||||||
if (this.vAccessLogConfig != null) {
|
if (this.vAccessLogConfig != null) {
|
||||||
accessLog = this.vAccessLogConfig
|
accessLog = this.vAccessLogConfig
|
||||||
@@ -129,6 +131,13 @@ Vue.component("http-access-log-config-box", {
|
|||||||
</div>
|
</div>
|
||||||
<p class="comment">选中表示只输出日志到日志策略,而停止默认的日志存储。</p>
|
<p class="comment">选中表示只输出日志到日志策略,而停止默认的日志存储。</p>
|
||||||
</td>
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>是否只记录WAF相关日志</td>
|
||||||
|
<td>
|
||||||
|
<checkbox v-model="accessLog.firewallOnly"></checkbox>
|
||||||
|
<p class="comment">选中后只记录WAF相关的日志。通过此选项可有效减少访问日志数量,降低网络带宽和存储压力。</p>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user