Skip to content

Commit 93c668c

Browse files
authored
chore: updates java config to downgrade logging to WARN; updates run command for simpler output (#614)
Signed-off-by: Anthony D. Mays <[email protected]>
1 parent ba3fbe6 commit 93c668c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lesson_26/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ We are continuing to build atop the foundation of our library app. For this assi
3636

3737
#### Running the API
3838

39-
You can run the server using the usual `./gradlew run` command from the `api/java` directory. If you want to test that the server is running correctly, you can use `curl` like so:
39+
You can run the server using the usual `./gradlew run --console=plain` command from the `api/java` directory. If you want to test that the server is running correctly, you can use `curl` like so:
4040

4141
```bash
4242
curl http://localhost:3001/items | json_pp

lesson_26/api/java/api_app/src/main/resources/application.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ spring:
66
generate-ddl: true
77
datasource:
88
url: jdbc:sqlite::resource:sqlite/data.db
9-
driver-class-name: org.sqlite.JDBC
9+
driver-class-name: org.sqlite.JDBC
10+
logging:
11+
level:
12+
root: WARN
13+
org.springframework: WARN

0 commit comments

Comments
 (0)