![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
5.0 |
|
Assignee:
|
Unassigned |
|
Components:
|
core |
|
Created:
|
26/Apr/13 2:09 PM
|
|
Description:
|
The getNode and getNodeByIdentifier methods of the info.magnolia.jcr.util.SessionUtil class return null if the requested node is not found, but they use log.error() in such case. It does not make much sense from a developer's point of view, just pollutes the logs with unnecessary stack traces.
The solution should be either to decrease the logging level to log.debug(), or at least catch the PathNotFoundException first and use the log.debug() for it (without stack trace), and use log.error() only for other kinds of the RepositoryException.
|
|
Fix Versions:
|
5.0 |
|
Project:
|
Magnolia
|
|
Priority:
|
Neutral
|
|
Reporter:
|
Jozef Chocholacek
|
|
Security Level:
|
Public |
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------