Skip to content

Commit

Permalink
Extra log statements for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Fishbeck <[email protected]>
  • Loading branch information
afishbeck committed Apr 20, 2023
1 parent 1814b1d commit eadbc59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions dali/base/dafdesc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3625,6 +3625,7 @@ static void doInitializeStorageGroups(bool createPlanesFromGroups)

void initializeStorageGroups(bool createPlanesFromGroups)
{
DBGLOG("POC Build info - initializeStorageGroups called with createPlanesFromGroups=%s", boolToStr(createPlanesFromGroups));
auto updateFunc = [createPlanesFromGroups](const IPropertyTree *oldComponentConfiguration, const IPropertyTree *oldGlobalConfiguration)
{
PROGLOG("initializeStorageGroups update");
Expand Down
5 changes: 4 additions & 1 deletion dali/dfu/dfuutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ class CFileCloner

void cloneSubFile(IPropertyTree *ftree,const char *destfilename, INode *srcdali, const char *srcCluster) // name already has prefix added
{
DBGLOG("cloneSubFile %s", destfilename);
DBGLOG("cloneSubFile %s", nullText(destfilename));

Owned<IFileDescriptor> srcfdesc = deserializeFileDescriptorTree(ftree, NULL, 0);
const char * kind = srcfdesc->queryProperties().queryProp("@kind");
Expand Down Expand Up @@ -484,6 +484,7 @@ class CFileCloner
Owned<IStoragePlane> plane = getDataStoragePlane(cluster1, false);
if (plane) // I think it should always exist, even in bare-metal.., but guard against it not for now (assumes initializeStorageGroups has been called)
{
DBGLOG("cloneSubFile: found plane for cluster '%s', dirPerPart=%s", cluster1.get(), boolToStr(plane->queryDirPerPart()));
if (plane->queryDirPerPart())
dstfdesc->setFlags(FileDescriptorFlags::dirperpart);
}
Expand Down Expand Up @@ -860,6 +861,8 @@ class CFileCloner

void cloneRoxieFile(const char *filename, const char *destfilename)
{
DBGLOG("cloneRoxieFile %s --> %s", nullText(filename), nullText(destfilename));

Linked<INode> srcdali = foreigndalinode;
CDfsLogicalFileName srcLFN;
srcLFN.set(filename);
Expand Down

0 comments on commit eadbc59

Please sign in to comment.