JulienBe | f3630f9 | 2020-03-26 12:27:36 +0100 | [diff] [blame] | 1 | <configuration debug="true"> |
Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame] | 2 | <springProperty name="logbackFilePath" |
sebdet | f117756 | 2018-09-03 11:23:13 +0200 | [diff] [blame] | 3 | source="clamp.config.logback.path" /> |
Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame] | 4 | <springProperty name="logbackFileName" |
sebdet | f117756 | 2018-09-03 11:23:13 +0200 | [diff] [blame] | 5 | source="clamp.config.logback.filename" /> |
Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame] | 6 | <springProperty name="logDirectory" |
| 7 | source="clamp.config.log.path" /> |
Determe, Sebastien (sd378r) | 5f0757a | 2018-04-27 14:38:45 +0200 | [diff] [blame] | 8 | |
Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame] | 9 | <if condition='isNull("logbackFilePath")'> |
| 10 | <then> |
| 11 | <!-- Classpath case --> |
| 12 | <include resource="${logbackFileName}" /> |
| 13 | </then> |
| 14 | <else> |
| 15 | <!-- File system case --> |
| 16 | <include file="${logbackFilePath}/${logbackFileName}" /> |
| 17 | </else> |
| 18 | </if> |
Determe, Sebastien (sd378r) | e63aa2e | 2017-08-08 03:13:42 -0700 | [diff] [blame] | 19 | </configuration> |