Issue Details (XML | Word | Printable)

Key: DEPLOY-6
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Fabrizio Giustina
Reporter: Luca Orlandi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Deployment tools

Misleading log in EnvironmentPropertyConfigurer.java

Created: 28/Jun/10 23:13   Updated: 11/Aug/11 11:24   Resolved: 11/Aug/11 11:24
Component/s: None
Affects Version/s: 2.2.1
Fix Version/s: 2.2.1

File Attachments: 1. Text File openutils-deployment.patch (1 kB) 28/Jun/10 23:13 - Luca Orlandi



 Description  « Hide

In EnvironmentPropertyConfigurer.java

propertyUrl = getResource(StringUtils.strip(loc));
if (propertyUrl != null)
{
found = true;
log.debug("Loading property file at {} from {}", loc, propertyUrl);
...
}
log.debug("Property file not found at {}", loc);

is quite misleading: at runtime you'll read "Loading property ..." always followed by "Property file not found".

Attached is a patch with a more correct and sloghtly more verbose log.



Fabrizio Giustina added a comment - 11/Aug/11 11:24

fixed in 2.2.1, thanks