Skip to content

Commit 5b98c4b

Browse files
committed
information on Spring Boot log added
1 parent 605ef5d commit 5b98c4b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,17 @@ Docker has a lot more in store than what we have shown here. Be sure to check it
148148

149149
Since Docker is run through Java's ```ProcessBuilder```, the output of the process is sent to two files. These two files are constantly removed and reused by all Docker calls and across parallel Docker processes. Be sure to understand this if you intend to do anything with the log files.
150150

151+
## Spring Boot log
152+
153+
A lot of information can be read from the Spring Boot log. The parts which pertain to Docker Postgres are prefixed with a '|' symbol. Within this group exist:
154+
* non-prefixed; actions take in the library
155+
* \>; output from std out/err
156+
* $\>; commands run with Java's ProcessBuilder
157+
158+
When a failure occurs, the error log will be read and logged. If the container starts up to spec, than it will be logged at warn level. If not, at error level.
159+
160+
If the container does not start up, the Spring Boot startup sequence will be terminated.
161+
151162
# Docker Postgres in action
152163

153164
When docker-postgres starts, your log will show this:

0 commit comments

Comments
 (0)