mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 16:42:24 +01:00
added file logging configuration
This commit is contained in:
parent
f5e8698e57
commit
1a1b49f641
4 changed files with 10 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,6 +1,8 @@
|
||||||
.gradle
|
.gradle
|
||||||
!gradle/wrapper/gradle-wrapper.jar
|
!gradle/wrapper/gradle-wrapper.jar
|
||||||
|
|
||||||
|
*.log
|
||||||
|
|
||||||
### STS ###
|
### STS ###
|
||||||
.apt_generated
|
.apt_generated
|
||||||
.classpath
|
.classpath
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@ komga:
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
include: flyway
|
include: flyway
|
||||||
|
logging.file: komga-dev.log
|
||||||
logging:
|
logging:
|
||||||
|
file.max-history: 1
|
||||||
level:
|
level:
|
||||||
org.gotson.komga: debug
|
org.gotson.komga: debug
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ spring:
|
||||||
profiles:
|
profiles:
|
||||||
include: prod
|
include: prod
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:h2:/config/database.h2;DB_CLOSE_DELAY=-1
|
url: jdbc:h2:/config/database.h2
|
||||||
|
logging.file: /config/logs/komga.log
|
||||||
komga:
|
komga:
|
||||||
libraries-scan-cron: "0 */15 * * * ?"
|
libraries-scan-cron: "0 */15 * * * ?"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
include: flyway
|
include: flyway
|
||||||
|
logging.file: komga.log
|
||||||
|
logging:
|
||||||
|
file.max-history: 10
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue