From 42ca6f79dc58c728612a0d2949400de51f27a9a5 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Mon, 1 Apr 2024 21:59:47 -0400 Subject: [PATCH] [F] Force color output --- src/main/resources/application.properties | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 5c297987..aa8df890 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -25,4 +25,10 @@ spring.flyway.out-of-order=true spring.datasource.driver-class-name=org.sqlite.JDBC spring.datasource.url=jdbc:sqlite:data/db.sqlite spring.datasource.hikari.maximum-pool-size=1 -spring.jpa.hibernate.ddl-auto=none \ No newline at end of file +spring.jpa.hibernate.ddl-auto=none + +# Force color output even in non-tty mode +# Note: If your terminal doesn't support colors, uninstall your terminal and use one that does +# https://github.com/termstandard/colors#truecolor-support-in-output-devices +# If you want to read the logs using a script, read the json logs in `logs` folder instead. +spring.output.ansi.enabled=always