Skip to content

Commit

Permalink
Changed some INFO/WARN messages to DEBUG ones.
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Apr 15, 2015
1 parent b0013ce commit ba31272
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Expand Up @@ -58,7 +58,7 @@ public static Map<String, DisplayableValue<String>[]> getActions() {
}

public void loadData(MidPointApplication application) {
LOGGER.info("Loading data from descriptor files.");
LOGGER.debug("Loading data from descriptor files.");

String baseFileName = "/WEB-INF/descriptor.xml";
String customFileName = "/WEB-INF/classes/descriptor.xml";
Expand Down Expand Up @@ -163,7 +163,7 @@ private void scanPackagesForPages(List<String> packages, MidPointApplication app
throws InstantiationException, IllegalAccessException {

for (String pac : packages) {
LOGGER.info("Scanning package package {} for page annotations", new Object[]{pac});
LOGGER.debug("Scanning package package {} for page annotations", new Object[]{pac});

Set<Class> classes = ClassPathUtil.listClasses(pac);
for (Class clazz : classes) {
Expand Down
Expand Up @@ -141,7 +141,7 @@ private Event createRequest(PrismObject<? extends ObjectType> object, Task task,
if (task.getOwner() != null) {
event.setRequester(new SimpleObjectRefImpl(notificationsUtil, task.getOwner().asObjectable()));
} else {
LOGGER.warn("No owner for task " + task + ", therefore no requester will be set for event " + event.getId());
LOGGER.debug("No owner for task " + task + ", therefore no requester will be set for event " + event.getId());
}

// if no OID in object (occurs in 'add' operation), we artificially insert it into the object)
Expand Down
Expand Up @@ -290,7 +290,7 @@ public void execute(Connection connection) throws SQLException {
columns++;
}
if (columns > 0) {
LOGGER.info("There are {} columns in {} (obtained via DatabaseMetaData)", columns, CLOSURE_TABLE_NAME);
LOGGER.debug("There are {} columns in {} (obtained via DatabaseMetaData)", columns, CLOSURE_TABLE_NAME);
if (columns != 3) {
wrongNumberOfColumns.setValue(true);
}
Expand All @@ -302,7 +302,7 @@ public void execute(Connection connection) throws SQLException {
ResultSet rs = stmt.executeQuery("select * from " + CLOSURE_TABLE_NAME);
int cols = rs.getMetaData().getColumnCount();
if (cols > 0) {
LOGGER.info("There are {} columns in {} (obtained via resultSet.getMetaData())", cols, CLOSURE_TABLE_NAME);
LOGGER.debug("There are {} columns in {} (obtained via resultSet.getMetaData())", cols, CLOSURE_TABLE_NAME);
if (cols != 3) {
wrongNumberOfColumns.setValue(true);
}
Expand Down Expand Up @@ -351,7 +351,7 @@ public boolean isEnabled() {
* Thorough check is conducted by recomputing the closure table.
*/
public void checkAndOrRebuild(SqlRepositoryServiceImpl service, boolean check, boolean rebuild, boolean stopOnFailure, boolean quickCheckOnly, OperationResult result) {
LOGGER.info("Org closure check/rebuild request: check={}, rebuild={}", check?(quickCheckOnly?"quick":"thorough"):"none", rebuild);
LOGGER.debug("Org closure check/rebuild request: check={}, rebuild={}", check?(quickCheckOnly?"quick":"thorough"):"none", rebuild);
if (!isEnabled()) {
result.recordWarning("Organizational closure processing is disabled.");
return;
Expand Down

0 comments on commit ba31272

Please sign in to comment.