VirtualBox

Changeset 83552 in vbox for trunk/src


Ignore:
Timestamp:
Apr 4, 2020 1:21:13 PM (5 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Logging for guest session status. bugref:9320

File:
1 edited

Legend:

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

    r83533 r83552  
    18571857        case GUEST_SESSION_NOTIFYTYPE_ERROR:
    18581858            sessionStatus = GuestSessionStatus_Error;
     1859            LogRel(("Guest Control: Error starting session #%RU32 (%Rrc) \n", mData.mSession.mID, rcGuest));
    18591860            break;
    18601861
     
    18801881            }
    18811882#endif
     1883            LogRel(("Guest Control: Session #%RU32 was successfully started\n", mData.mSession.mID));
    18821884            break;
    18831885
     
    18861888        case GUEST_SESSION_NOTIFYTYPE_TEA:
    18871889            sessionStatus = GuestSessionStatus_Terminated;
     1890            LogRel(("Guest Control: Session #%RU32 was successfully terminated\n", mData.mSession.mID));
    18881891            break;
    18891892
    18901893        case GUEST_SESSION_NOTIFYTYPE_TOK:
    18911894            sessionStatus = GuestSessionStatus_TimedOutKilled;
     1895            LogRel(("Guest Control: Session #%RU32 timed out and was killed\n", mData.mSession.mID));
    18921896            break;
    18931897
    18941898        case GUEST_SESSION_NOTIFYTYPE_TOA:
    18951899            sessionStatus = GuestSessionStatus_TimedOutAbnormally;
     1900            LogRel(("Guest Control: Session #%RU32 timed out and was not killed successfully\n", mData.mSession.mID));
    18961901            break;
    18971902
    18981903        case GUEST_SESSION_NOTIFYTYPE_DWN:
    18991904            sessionStatus = GuestSessionStatus_Down;
     1905            LogRel(("Guest Control: Session #%RU32 got killed as guest service/OS is down\n", mData.mSession.mID));
    19001906            break;
    19011907
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