Skip to content

Commit

Permalink
Update PurgeLogs.java
Browse files Browse the repository at this point in the history
Fixed `WARNING` => `WARN`


Following this example gave me this error:

```
Illegal flow yaml: Cannot deserialize value of type org.slf4j.event.Level from String “WARNING”: not one of the values accepted for Enum class: [ERROR, DEBUG, TRACE, INFO, WARN]
 at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: io.kestra.core.models.flows.Flow[“tasks”]->java.util.ArrayList[0]->io.kestra.plugin.core.log.PurgeLogs[“logLevels”]->java.util.ArrayList[3])
```

See also: https://www.slf4j.org/api/org/slf4j/event/Level.html
  • Loading branch information
audunsol authored and loicmathieu committed Aug 22, 2024
1 parent 04ce98e commit f271879
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"- TRACE",
"- DEBUG",
"- INFO",
"- WARNING",
"- WARN",
}
)
}
Expand Down

0 comments on commit f271879

Please sign in to comment.