mirror of https://gitee.com/bigwinds/arangodb
be less verbose
This commit is contained in:
parent
025d73ae03
commit
d85dddfc7a
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue