---
# System prepended metadata

title: WildFly CLI操作
tags: [WildFly]

---

---
title: 'WildFly CLI操作'
tags: WildFly
description: WildFly CLI操作
---

# WildFly CLI操作

---

[TOC]

---

## cmd

``` terminal
cd /opt/wildfly/bin
./jboss-cli.sh --connect
```

Change WildFly log level
``` terminal
/subsystem=logging/root-logger=ROOT:change-root-log-level(level=DEBUG)
```

---

## 參考鏈結

https://octopus.com/blog/using-the-wildfly-cli
https://www.mastertheboss.com/jbossas/jboss-log/how-do-i-enable-debug-logs-in-wildfly/