VirtualBox

Changeset 77557 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 4, 2019 3:58:23 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129162
Message:

IPRT: Moved the RTLogSetGroupLimit() functionality into the RTLogCreateEx() call, adding an env var for overriding it (suffix '_MAX_PER_GROUP', e.g. 'export VBOX_RELEASE_LOG_MAX_PER_GROUP=0' for no limit).

Location:
trunk/src/VBox/Additions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp

    r76553 r77557  
    570570                           "VBOXTRAY_RELEASE_LOG",
    571571#endif
    572                            RT_ELEMENTS(s_apszGroups), s_apszGroups, RTLOGDEST_STDOUT,
     572                           RT_ELEMENTS(s_apszGroups), s_apszGroups, UINT32_MAX, RTLOGDEST_STDOUT,
    573573                           vboxTrayLogHeaderFooter, g_cHistory, g_uHistoryFileSize, g_uHistoryFileTime,
    574574                           RTErrInfoInitStatic(&ErrInfo), pszLogFile);
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r76553 r77557  
    318318                           "VBOXSERVICE_RELEASE_LOG",
    319319#endif
    320                            RT_ELEMENTS(s_apszGroups), s_apszGroups,
     320                           RT_ELEMENTS(s_apszGroups), s_apszGroups, UINT32_MAX /*cMaxEntriesPerGroup*/,
    321321                           RTLOGDEST_STDOUT | RTLOGDEST_USER,
    322322                           vgsvcLogHeaderFooter, g_cHistory, g_uHistoryFileSize, g_uHistoryFileTime,
  • trunk/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp

    r76553 r77557  
    935935    fFlags |= RTLOGFLAGS_USECRLF;
    936936#endif
    937     int rc = RTLogCreateEx(&g_pLoggerRelease, fFlags, "all",
    938                            "VBOXGREETER_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups,
    939                            RTLOGDEST_STDOUT,
     937    int rc = RTLogCreateEx(&g_pLoggerRelease, fFlags, "all", "VBOXGREETER_RELEASE_LOG",
     938                           RT_ELEMENTS(s_apszGroups), s_apszGroups, UINT32_MAX /*cMaxEntriesPerGroup*/, RTLOGDEST_STDOUT,
    940939                           vboxGreeterLogHeaderFooter, g_cHistory, g_uHistoryFileSize, g_uHistoryFileTime,
    941940                           NULL /*pErrInfo*/, pszLogFile);
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