VirtualBox

Ignore:
Timestamp:
Nov 22, 2010 3:14:23 PM (14 years ago)
Author:
vboxsync
Message:

Main: always write release logs into Logs subfolder of machine's folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r34057 r34248  
    58335833    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    58345834
    5835     Utf8Str settingsDir;
    5836     if (isInOwnDir(&settingsDir))
    5837         /* Log folder is <Machines>/<VM_Name>/Logs */
    5838         aLogFolder = settingsDir;
    5839     else
    5840         /* Log folder is <Machines>/<VM_SnapshotFolder>/Logs */
    5841         calculateFullPath(mUserData->s.strSnapshotFolder, aLogFolder);
    5842 
     5835    aLogFolder = mData->m_strConfigFileFull;    // path/to/machinesfolder/vmname/vmname.vbox
     5836    aLogFolder.stripFilename();                 // path/to/machinesfolder/vmname
    58435837    aLogFolder.append(RTPATH_DELIMITER);
    5844     aLogFolder.append("Logs");
     5838    aLogFolder.append("Logs");                  // path/to/machinesfolder/vmname/Logs
    58455839}
    58465840
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