Skip to content

Commit 5bce55c

Browse files
committed
Changed logging level to WARN for faces-config.xml parsing errors
1 parent b6d0bad commit 5bce55c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎core/src/main/java/com/ocpsoft/pretty/faces/el/resolver/FacesConfigBeanNameResolver.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,12 @@ private void processFacesConfig(URL url, List<FacesConfigEntry> facesConfigEntri
278278
catch (IOException e)
279279
{
280280
// may be thrown when reading the file
281-
log.error("Failed to parse: " + url.toString(), e);
281+
log.warn("Failed to parse: " + url.toString() + ": " + e.getMessage());
282282
}
283283
catch (SAXException e)
284284
{
285285
// parsing errors
286-
log.error("Failed to parse: " + url.toString(), e);
286+
log.warn("Failed to parse: " + url.toString() + ": " + e.getMessage());
287287
}
288288
finally
289289
{

0 commit comments

Comments
 (0)