VirtualBox

Changeset 28244 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 13, 2010 12:22:07 PM (15 years ago)
Author:
vboxsync
Message:

VBoxService/Control: Logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExec.cpp

    r28243 r28244  
    601601     */
    602602    RTThreadUserSignal(RTThreadSelf());
    603     VBoxServiceVerbose(3, "Control: Thread of process \"%s\" started.", pData->pszCmd);
     603    VBoxServiceVerbose(3, "Control: Thread of process \"%s\" started.\n", pData->pszCmd);
    604604
    605605    uint32_t u32ClientID;
    606606    int rc = VbglR3GuestCtrlConnect(&u32ClientID);
    607     if (RT_SUCCESS(rc))
    608         VBoxServiceVerbose(3, "Control: Thread client ID: %#x\n", u32ClientID);
    609     else
    610     {
    611         VBoxServiceError("Control: Thread failed to connect to the guest control service! Error: %Rrc\n", rc);
     607    if (RT_FAILURE(rc))
     608    {
     609        VBoxServiceError("Control: Thread failed to connect to the guest control service, aborted! Error: %Rrc\n", rc);
    612610        return rc;
    613611    }
     
    710708                                                                              NULL /* pvData */, 0 /* cbData */);
    711709                                    if (RT_FAILURE(rc2))
    712                                         VBoxServiceError("Control: Could not report process start error! Error: %Rrc\n", rc2);
     710                                        VBoxServiceError("Control: Could not report process start error! Error: %Rrc (process error %Rrc)\n",
     711                                                         rc2, rc);
    713712                                }
    714713                            }
     
    728727
    729728    VbglR3GuestCtrlDisconnect(u32ClientID);
    730     VBoxServiceVerbose(3, "Control: Thread of process \"%s\" ended with rc=%Rrc.\n", pData->pszCmd, rc);
     729    VBoxServiceVerbose(3, "Control: Thread of process \"%s\" ended with rc=%Rrc\n", pData->pszCmd, rc);
    731730
    732731    /*
     
    765764        if (RT_FAILURE(rc))
    766765        {
    767             VBoxServiceError("Control: RTThreadCreate failed, rc=%Rrc\n, threadData=%p",
     766            VBoxServiceError("Control: RTThreadCreate failed, rc=%Rrc\n, threadData=%p\n",
    768767                             rc, pThreadData);
    769768            /* Only destroy thread data on failure; otherwise it's destroyed in the thread handler. */
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