VirtualBox

Changeset 36408 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 24, 2011 4:25:47 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70763
Message:

log rotation review and adjustments: Don't delete any excess files if log roation is disabled - we don't know what these files might be. Moved RTLOGGERFILE into log.c. Keep RTLogCreate simple, anyone needing rotation can use RTLogCreateEx[V]. Made RTLogGetDestinations produce the log rotation bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstAnimate.cpp

    r36345 r36408  
    814814    PRTLOGGER pRelLogger;
    815815    rc = RTLogCreate(&pRelLogger, RTLOGFLAGS_PREFIX_TIME_PROG, "all", "VBOX_RELEASE_LOG",
    816                      RT_ELEMENTS(s_apszGroups), s_apszGroups, RTLOGDEST_FILE,
    817                      NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */,
    818                      "./tstAnimate.log");
     816                     RT_ELEMENTS(s_apszGroups), s_apszGroups, RTLOGDEST_FILE, "./tstAnimate.log");
    819817    if (RT_SUCCESS(rc))
    820818        RTLogRelSetDefaultInstance(pRelLogger);
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