Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame^] | 1 | <configuration scan="true" scanPeriod="60 seconds" |
| 2 | debug="true"> |
| 3 | <springProperty name="logbackFilePath" |
| 4 | source="com.att.eelf.logging.path" /> |
| 5 | <springProperty name="logbackFileName" |
| 6 | source="com.att.eelf.logging.file" /> |
| 7 | <springProperty name="logDirectory" |
| 8 | source="clamp.config.log.path" /> |
Determe, Sebastien (sd378r) | 5f0757a | 2018-04-27 14:38:45 +0200 | [diff] [blame] | 9 | |
Determe, Sebastien (sd378r) | 499e4e8 | 2018-08-09 17:14:09 +0200 | [diff] [blame^] | 10 | <if condition='isNull("logbackFilePath")'> |
| 11 | <then> |
| 12 | <!-- Classpath case --> |
| 13 | <include resource="${logbackFileName}" /> |
| 14 | </then> |
| 15 | <else> |
| 16 | <!-- File system case --> |
| 17 | <include file="${logbackFilePath}/${logbackFileName}" /> |
| 18 | </else> |
| 19 | </if> |
Determe, Sebastien (sd378r) | e63aa2e | 2017-08-08 03:13:42 -0700 | [diff] [blame] | 20 | |
Determe, Sebastien (sd378r) | e63aa2e | 2017-08-08 03:13:42 -0700 | [diff] [blame] | 21 | |
| 22 | </configuration> |