-
Notifications
You must be signed in to change notification settings - Fork 7
/
rotational_file_log_command
20 lines (12 loc) · 1.71 KB
/
rotational_file_log_command
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/periodic-rotating-file-handler=FILE:add(file={"path"=>"/hyperauth/${env.HOSTNAME:hyperauth}.log", "relative-to"=>"jboss.server.log.dir"}, suffix=".yyyy-MM-dd", append="true")'
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/periodic-rotating-file-handler=FILE:write-attribute(name="formatter", value="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n")'
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/periodic-rotating-file-handler=FILE:write-attribute(name="autoflush", value="true")'
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/logger=org.keycloak:add-handler(name="FILE")'
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/logger=com.tmax.hyperauth:add(category=com.tmax.hyperauth,level=INFO)'
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/logger=com.tmax.hyperauth:add-handler(name="FILE")'
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/logger=org.apache.kafka:add(category=org.apache.kafka,level=WARN)'
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/logger=org.apache.kafka:add-handler(name="FILE")'
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/logger=javax.mail:add(category=javax.mail,level=INFO)'
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/logger=javax.mail:add-handler(name="FILE")'
------------------------------------------------------------
/opt/jboss/keycloak/bin/jboss-cli.sh --connect --command='/subsystem=logging/logger=org.keycloak.events/:add(category=org.keycloak.events,level=DEBUG)'