forked from jboss-developer/jboss-eap-quickstarts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathremove-logging.cli
30 lines (23 loc) · 1.06 KB
/
remove-logging.cli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Batch script to add and configure logging in the JBoss server
# Start batching commands
batch
# Remove the quickstart logger
/subsystem=logging/logger=org.jboss.as.quickstarts.logging:remove
# Remove the log async handler
/subsystem=logging/async-handler=TRACE_QS_ASYNC:remove
/subsystem=logging/async-handler=DEBUG_QS_ASYNC:remove
/subsystem=logging/async-handler=INFO_QS_ASYNC:remove
/subsystem=logging/async-handler=WARN_QS_ASYNC:remove
/subsystem=logging/async-handler=ERROR_QS_ASYNC:remove
/subsystem=logging/async-handler=FATAL_QS_ASYNC:remove
# Remove the file handlers
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_TRACE:remove
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_DEBUG:remove
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_INFO:remove
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_WARN:remove
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_ERROR:remove
/subsystem=logging/periodic-rotating-file-handler=FILE_QS_FATAL:remove
# Run the batch commands
run-batch
# Reload the server configuration
:reload