log: Move "Pre-allocating up to position 0x[...] in [...].dat" log message to debug category
This commit is contained in:
1 parent
acd7980b37
commit
25f899cc23
1 file changed
+1
-1
+1
-1
@@ -66,7 +66,7 @@ size_t FlatFileSeq::Allocate(const FlatFilePos& pos, size_t add_size, bool& out_
|
|||||||
if (CheckDiskSpace(m_dir, inc_size)) {
|
if (CheckDiskSpace(m_dir, inc_size)) {
|
||||||
FILE *file = Open(pos);
|
FILE *file = Open(pos);
|
||||||
if (file) {
|
if (file) {
|
||||||
LogPrintf("Pre-allocating up to position 0x%x in %s%05u.dat\n", new_size, m_prefix, pos.nFile);
|
LogPrint(BCLog::VALIDATION, "Pre-allocating up to position 0x%x in %s%05u.dat\n", new_size, m_prefix, pos.nFile);
|
||||||
AllocateFileRange(file, pos.nPos, inc_size);
|
AllocateFileRange(file, pos.nPos, inc_size);
|
||||||
fclose(file);
|
fclose(file);
|
||||||
return inc_size;
|
return inc_size;
|
||||||
|
|||||||
Reference in new issue
Block a user