mirror of
https://github.com/gotson/komga.git
synced 2025-12-06 08:32:25 +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/wrapper/gradle-wrapper.jar
|
||||
|
||||
*.log
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ komga:
|
|||
spring:
|
||||
profiles:
|
||||
include: flyway
|
||||
logging.file: komga-dev.log
|
||||
logging:
|
||||
file.max-history: 1
|
||||
level:
|
||||
org.gotson.komga: debug
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ spring:
|
|||
profiles:
|
||||
include: prod
|
||||
datasource:
|
||||
url: jdbc:h2:/config/database.h2;DB_CLOSE_DELAY=-1
|
||||
url: jdbc:h2:/config/database.h2
|
||||
logging.file: /config/logs/komga.log
|
||||
komga:
|
||||
libraries-scan-cron: "0 */15 * * * ?"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
spring:
|
||||
profiles:
|
||||
include: flyway
|
||||
include: flyway
|
||||
logging.file: komga.log
|
||||
logging:
|
||||
file.max-history: 10
|
||||
|
|
|
|||
Loading…
Reference in a new issue