1
0
Fork 0

be less verbose

This commit is contained in:
Jan Steemann 2014-11-01 15:22:27 +01:00
parent 025d73ae03
commit d85dddfc7a
1 changed files with 10 additions and 3 deletions

View File

@ -477,9 +477,16 @@ static int CreateApplicationDirectory (char const* name,
res = TRI_CreateDirectory(path);
if (res == TRI_ERROR_NO_ERROR) {
LOG_INFO("created application directory '%s' for database '%s'",
path,
name);
if (triagens::wal::LogfileManager::instance()->isInRecovery()) {
LOG_TRACE("created application directory '%s' for database '%s'",
path,
name);
}
else {
LOG_INFO("created application directory '%s' for database '%s'",
path,
name);
}
}
else {
LOG_ERROR("unable to create application directory '%s' for database '%s': %s",