We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6e84dc commit 2427ec3Copy full SHA for 2427ec3
spring-shell-docs/src/main/asciidoc/using-shell-customization-logging.adoc
@@ -26,3 +26,30 @@ logging:
26
name: shell.log
27
----
28
====
29
+
30
+If you need different log levels.
31
32
+====
33
+[source, yaml]
34
+----
35
+logging:
36
+ level:
37
+ org:
38
+ springframework:
39
+ shell: debug
40
41
42
43
+Passing contiguration properties as command line options is not supported but
44
+you can use any other ways supported by boot, for example.
45
46
47
+[source, bash]
48
49
+$ java -Dlogging.level.root=debug -jar demo.jar
50
+$ LOGGING_LEVEL_ROOT=debug java -jar demo.jar
51
52
53
54
+NOTE: In a GraalVM image settings are locked during compilation which means
55
+ you can't change log levels at runtime.
0 commit comments