VirtualBox

Ignore:
Timestamp:
Sep 18, 2015 7:27:02 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102782
Message:

Main,GUI: positioned the VBoxStartup.log as the 2nd log that can be retrieved via IMachine::queryLogFilename on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/UIVMLogViewer.cpp

    r57591 r57832  
    470470
    471471    const CSystemProperties &sys = vboxGlobal().virtualBox().GetSystemProperties();
    472     int cMaxLogs = sys.GetLogHistoryCount();
    473     for (int i=0; i <= cMaxLogs; ++i)
     472    unsigned cMaxLogs = sys.GetLogHistoryCount() + 1 /*VBox.log*/ + 1 /*VBoxHardening.log*/; /** @todo Add api for getting total possible log count! */
     473    for (unsigned i = 0; i < cMaxLogs; ++i)
    474474    {
    475475        /* Query the log file name for index i: */
Note: See TracChangeset for help on using the changeset viewer.

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