Changeset 93047 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Dec 21, 2021 1:47:04 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r93035 r93047 2021 2021 case GUEST_SESSION_NOTIFYTYPE_ERROR: 2022 2022 sessionStatus = GuestSessionStatus_Error; 2023 LogRel(("Guest Control: Error starting session #%RU32 (%Rrc) \n", mData.mSession.mID, rcGuest));2023 LogRel(("Guest Control: Error starting Session '%s' (%Rrc) \n", mData.mSession.mName.c_str(), rcGuest)); 2024 2024 break; 2025 2025 … … 2045 2045 } 2046 2046 #endif 2047 LogRel(("Guest Control: Session #%RU32 was successfully started\n", mData.mSession.mID));2047 LogRel(("Guest Control: Session '%s' was successfully started\n", mData.mSession.mName.c_str())); 2048 2048 break; 2049 2049 2050 2050 case GUEST_SESSION_NOTIFYTYPE_TEN: 2051 LogRel(("Guest Control: Session #%RU32was terminated normally with exit code %#x\n",2052 mData.mSession.m ID, dataCb.uResult));2051 LogRel(("Guest Control: Session '%s' was terminated normally with exit code %#x\n", 2052 mData.mSession.mName.c_str(), dataCb.uResult)); 2053 2053 sessionStatus = GuestSessionStatus_Terminated; 2054 2054 break; 2055 2055 2056 2056 case GUEST_SESSION_NOTIFYTYPE_TEA: 2057 LogRel(("Guest Control: Session #%RU32 was terminated abnormally\n", mData.mSession.mID));2057 LogRel(("Guest Control: Session '%s' was terminated abnormally\n", mData.mSession.mName.c_str())); 2058 2058 sessionStatus = GuestSessionStatus_Terminated; 2059 2059 /* dataCb.uResult is undefined. */ … … 2061 2061 2062 2062 case GUEST_SESSION_NOTIFYTYPE_TES: 2063 LogRel(("Guest Control: Session #%RU32 was terminated via signal %#x\n", mData.mSession.mID, dataCb.uResult));2063 LogRel(("Guest Control: Session '%s' was terminated via signal %#x\n", mData.mSession.mName.c_str(), dataCb.uResult)); 2064 2064 sessionStatus = GuestSessionStatus_Terminated; 2065 2065 break; … … 2067 2067 case GUEST_SESSION_NOTIFYTYPE_TOK: 2068 2068 sessionStatus = GuestSessionStatus_TimedOutKilled; 2069 LogRel(("Guest Control: Session #%RU32 timed out and was killed\n", mData.mSession.mID));2069 LogRel(("Guest Control: Session '%s' timed out and was killed\n", mData.mSession.mName.c_str())); 2070 2070 break; 2071 2071 2072 2072 case GUEST_SESSION_NOTIFYTYPE_TOA: 2073 2073 sessionStatus = GuestSessionStatus_TimedOutAbnormally; 2074 LogRel(("Guest Control: Session #%RU32 timed out and was not killed successfully\n", mData.mSession.mID));2074 LogRel(("Guest Control: Session '%s' timed out and was not killed successfully\n", mData.mSession.mName.c_str())); 2075 2075 break; 2076 2076 2077 2077 case GUEST_SESSION_NOTIFYTYPE_DWN: 2078 2078 sessionStatus = GuestSessionStatus_Down; 2079 LogRel(("Guest Control: Session #%RU32 got killed as guest service/OS is down\n", mData.mSession.mID));2079 LogRel(("Guest Control: Session '%s' got killed as guest service/OS is down\n", mData.mSession.mName.c_str())); 2080 2080 break; 2081 2081 … … 3309 3309 if (i) 3310 3310 { 3311 LogRel(("Guest Control: Closing session #%RU32timed out (%RU32s timeout, attempt %d/10), retrying ...\n",3312 mData.mSession.m ID, msTimeout / RT_MS_1SEC, i + 1));3311 LogRel(("Guest Control: Closing session '%s' timed out (%RU32s timeout, attempt %d/10), retrying ...\n", 3312 mData.mSession.mName.c_str(), msTimeout / RT_MS_1SEC, i + 1)); 3313 3313 msTimeout += RT_MS_10SEC; /* Slightly increase the timeout. */ 3314 3314 }
Note:
See TracChangeset
for help on using the changeset viewer.