VirtualBox

Changeset 36702 in vbox for trunk/src/VBox/Main/webservice


Ignore:
Timestamp:
Apr 18, 2011 9:49:11 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71216
Message:

Frontends/VBoxBalloonCtrl: make the log rotation configurable, change to daily instead of weekly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r36680 r36702  
    112112
    113113uint32_t                g_cHistory = 10;                // enable log rotation, 10 files
    114 uint32_t                g_uHistoryFileTime = RT_SEC_1WEEK; // max 1 week per file
     114uint32_t                g_uHistoryFileTime = RT_SEC_1DAY; // max 1 day per file
    115115uint64_t                g_uHistoryFileSize = 100 * _1M; // max 100MB per file
    116116bool                    g_fVerbose = false;             // be verbose
     
    250250
    251251            case 'S':
    252                 pcszDescr = "Maximum size of a log file to trigger rotationi (bytes).";
     252                pcszDescr = "Maximum size of a log file to trigger rotation (bytes).";
    253253                break;
    254254
     
    828828
    829829            case 'F':
    830             {
    831830                pszLogFile = ValueUnion.psz;
    832831                break;
    833             }
    834832
    835833            case 'R':
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