Skip to content
Permalink
Browse files
docs: add doc about log level (#23)
  • Loading branch information
tzssangglass committed Jun 1, 2021
1 parent 44ba784 commit 8ce0220c3cd85891a18056210fe01a66d2fc924a
Showing 2 changed files with 13 additions and 3 deletions.
@@ -47,6 +47,16 @@ in the `error.log` of APISIX, you can change the permissions of this file for de
chmod 777 /tmp/runner.sock
```

To get more detailed debugging information, you can modify the output level of the log.
Configure the log level in `runner-starter/src/main/resources/application.yaml`, as below
(any changes to the project files need to be re-executed `./mvnw package package`)

```yaml
logging:
level:
root: debug
```

### Run

No environment variables need to be set in Run mode, execute
@@ -12,9 +12,9 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
logging:
level:
root: debug
#logging:
# level:
# root: debug
cache.config:
expired: ${APISIX_CONF_EXPIRE_TIME}
capacity: 1000

0 comments on commit 8ce0220

Please sign in to comment.