VirtualBox

Changeset 97412 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Nov 6, 2022 9:30:21 AM (2 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Temporary verbose logging build for the Testboxes. Losing patience with the non-working environment tweaks, sigh. ​bugref:10286

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r97395 r97412  
    769769    while (itSrc != SourceSet.end())
    770770    {
    771         LogRel2(("Guest Control: Copying '%s' from guest to '%s' on the host (type: %s, filter: %s)\n",
     771        LogRel(("Guest Control: Copying '%s' from guest to '%s' on the host (type: %s, filter: %s)\n",
    772772                 itSrc->strSource.c_str(), strDestination.c_str(), GuestBase::fsObjTypeToStr(itSrc->enmType), itSrc->strFilter.c_str()));
    773773        ++itSrc;
     
    836836    while (itSrc != SourceSet.end())
    837837    {
    838         LogRel2(("Guest Control: Copying '%s' from host to '%s' on the guest (type: %s, filter: %s)\n",
     838        LogRel(("Guest Control: Copying '%s' from host to '%s' on the guest (type: %s, filter: %s)\n",
    839839                 itSrc->strSource.c_str(), strDestination.c_str(), GuestBase::fsObjTypeToStr(itSrc->enmType), itSrc->strFilter.c_str()));
    840840        ++itSrc;
  • trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp

    r97399 r97412  
    363363    LogFlowFunc(("strPath=%s, fMode=%RU32, fCreate=0x%x, fCanExist=%RTbool\n", strPath.c_str(), fMode, fCreate, fCanExist));
    364364
    365     LogRel2(("Guest Control: Creating host directory '%s' ...\n", strPath.c_str()));
     365    LogRel(("Guest Control: Creating host directory '%s' ...\n", strPath.c_str()));
    366366
    367367    int vrc = RTDirCreate(strPath.c_str(), fMode, fCreate);
     
    598598                if (RTTimeSpecCompare(&srcModificationTimeTS, &dstObjInfo.ModificationTime) <= 0)
    599599                {
    600                     LogRel2(("Guest Control: Host file \"%s\" has same or newer modification date, skipping", strDst.c_str()));
     600                    LogRel(("Guest Control: Host file \"%s\" has same or newer modification date, skipping", strDst.c_str()));
    601601                    fSkip = true;
    602602                }
     
    650650    }
    651651
    652     LogRel2(("Guest Control: Copying file '%s' from guest to '%s' on host ...\n", strSrc.c_str(), strDst.c_str()));
     652    LogRel(("Guest Control: Copying file '%s' from guest to '%s' on host ...\n", strSrc.c_str(), strDst.c_str()));
    653653
    654654    LogFlowFunc(("vrc=%Rrc, dstFsType=%#x, pszDstFile=%s\n", vrc, dstObjInfo.Attr.fMode & RTFS_TYPE_MASK, strDst.c_str()));
     
    859859                        if (RTTimeSpecCompare(&dstModificationTimeTS, &srcObjInfo.ModificationTime) <= 0)
    860860                        {
    861                             LogRel2(("Guest Control: Guest file \"%s\" has same or newer modification date, skipping",
     861                            LogRel(("Guest Control: Guest file \"%s\" has same or newer modification date, skipping",
    862862                                     strDst.c_str()));
    863863                            fSkip = true;
     
    906906    if (RT_SUCCESS(vrc))
    907907    {
    908         LogRel2(("Guest Control: Copying file '%s' from host to '%s' on guest ...\n", strSrc.c_str(), strDst.c_str()));
     908        LogRel(("Guest Control: Copying file '%s' from host to '%s' on guest ...\n", strSrc.c_str(), strDst.c_str()));
    909909
    910910        RTVFSFILE hSrcFile;
     
    10921092    LogFlowFunc(("Entering '%s' (sub '%s')\n", strPathAbs.c_str(), strPathSub.c_str()));
    10931093
    1094     LogRel2(("Guest Control: Handling directory '%s' on guest ...\n", strPathAbs.c_str()));
     1094    LogRel(("Guest Control: Handling directory '%s' on guest ...\n", strPathAbs.c_str()));
    10951095
    10961096    GuestDirectoryOpenInfo dirOpenInfo;
     
    11561156                    }
    11571157
    1158                     LogRel2(("Guest Control: Directory '%s'\n", strEntry.c_str()));
     1158                    LogRel(("Guest Control: Directory '%s'\n", strEntry.c_str()));
    11591159
    11601160                    if (!(mSourceSpec.fDirCopyFlags & DirectoryCopyFlag_Recursive))
     
    11721172                        /** @todo Symlink handling from guest is not implemented yet.
    11731173                         *        See IGuestSession::symlinkRead(). */
    1174                         LogRel2(("Guest Control: Warning: Symlink support on guest side not available, skipping '%s'",
     1174                        LogRel(("Guest Control: Warning: Symlink support on guest side not available, skipping '%s'",
    11751175                                 strEntry.c_str()));
    11761176                    }
     
    11801180                case FsObjType_File:
    11811181                {
    1182                     LogRel2(("Guest Control: File '%s'\n", strEntry.c_str()));
     1182                    LogRel(("Guest Control: File '%s'\n", strEntry.c_str()));
    11831183
    11841184                    vrc = AddEntryFromGuest(strEntry, fsObjInfo->i_getData());
     
    12311231    LogFlowFunc(("Entering '%s' (sub '%s')\n", strPathAbs.c_str(), strPathSub.c_str()));
    12321232
    1233     LogRel2(("Guest Control: Handling directory '%s' on host ...\n", strPathAbs.c_str()));
     1233    LogRel(("Guest Control: Handling directory '%s' on host ...\n", strPathAbs.c_str()));
    12341234
    12351235    RTFSOBJINFO objInfo;
     
    12711271                                    break;
    12721272
    1273                                 LogRel2(("Guest Control: Directory '%s'\n", strEntry.c_str()));
     1273                                LogRel(("Guest Control: Directory '%s'\n", strEntry.c_str()));
    12741274
    12751275                                if (!(mSourceSpec.fDirCopyFlags & DirectoryCopyFlag_Recursive))
     
    12821282                            case RTFS_TYPE_FILE:
    12831283                            {
    1284                                 LogRel2(("Guest Control: File '%s'\n", strEntry.c_str()));
     1284                                LogRel(("Guest Control: File '%s'\n", strEntry.c_str()));
    12851285
    12861286                                vrc = AddEntryFromHost(strEntry, &pDirEntry->Info);
     
    13001300                                        if (RTFS_IS_DIRECTORY(objInfo.Attr.fMode))
    13011301                                        {
    1302                                             LogRel2(("Guest Control: Symbolic link '%s' -> '%s' (directory)\n",
     1302                                            LogRel(("Guest Control: Symbolic link '%s' -> '%s' (directory)\n",
    13031303                                                     strEntryAbs.c_str(), pszPathReal));
    13041304                                            if (mSourceSpec.fDirCopyFlags  & DirectoryCopyFlag_FollowLinks)
     
    13071307                                        else if (RTFS_IS_FILE(objInfo.Attr.fMode))
    13081308                                        {
    1309                                             LogRel2(("Guest Control: Symbolic link '%s' -> '%s' (file)\n",
     1309                                            LogRel(("Guest Control: Symbolic link '%s' -> '%s' (file)\n",
    13101310                                                     strEntryAbs.c_str(), pszPathReal));
    13111311                                            if (mSourceSpec.fFileCopyFlags & DirectoryCopyFlag_FollowLinks)
     
    13171317
    13181318                                    if (RT_FAILURE(vrc))
    1319                                         LogRel2(("Guest Control: Unable to query symbolic link info for '%s', rc=%Rrc\n",
     1319                                        LogRel(("Guest Control: Unable to query symbolic link info for '%s', rc=%Rrc\n",
    13201320                                                 pszPathReal, vrc));
    13211321                                }
    13221322                                else
    13231323                                {
    1324                                     LogRel2(("Guest Control: Unable to resolve symlink for '%s', rc=%Rrc\n", strPathAbs.c_str(), vrc));
     1324                                    LogRel(("Guest Control: Unable to resolve symlink for '%s', rc=%Rrc\n", strPathAbs.c_str(), vrc));
    13251325                                    if (vrc == VERR_FILE_NOT_FOUND) /* Broken symlink, skip. */
    13261326                                        vrc = VINF_SUCCESS;
     
    15321532
    15331533                        default:
    1534                             LogRel2(("Guest Control: Warning: Unknown guest file system type %#x for source \"%s\", skipping\n",
     1534                            LogRel(("Guest Control: Warning: Unknown guest file system type %#x for source \"%s\", skipping\n",
    15351535                                     itSrc->enmType, strSrc.c_str()));
    15361536                            break;
     
    19751975
    19761976                        default:
    1977                             LogRel2(("Guest Control: Warning: Unknown guest host system type %#x for source \"%s\", skipping\n",
     1977                            LogRel(("Guest Control: Warning: Unknown guest host system type %#x for source \"%s\", skipping\n",
    19781978                                     itSrc->enmType, strSrc.c_str()));
    19791979                            break;
     
    22332233                    case RTFS_TYPE_DIRECTORY:
    22342234                    {
    2235                         LogRel2(("Guest Control: Copying directory '%s' from host to '%s' on guest ...\n", strSrcAbs.c_str(), strDstAbs.c_str()));
     2235                        LogRel(("Guest Control: Copying directory '%s' from host to '%s' on guest ...\n", strSrcAbs.c_str(), strDstAbs.c_str()));
    22362236                        if (!pList->mSourceSpec.fDryRun)
    22372237                            vrc = directoryCreateOnGuest(strDstAbs, fDirMode, DirectoryCreateFlag_None,
     
    22482248
    22492249                    default:
    2250                         LogRel2(("Guest Control: Warning: Host file system type 0x%x for '%s' is not supported, skipping\n",
     2250                        LogRel(("Guest Control: Warning: Host file system type 0x%x for '%s' is not supported, skipping\n",
    22512251                                 pEntry->fMode & RTFS_TYPE_MASK, strSrcAbs.c_str()));
    22522252                        break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette