VirtualBox

vbox的更動 36408 路徑 trunk/src/VBox/Additions/common


忽略:
時間撮記:
2011-3-24 下午04:25:47 (14 年 以前)
作者:
vboxsync
訊息:

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.

位置:
trunk/src/VBox/Additions/common
檔案:
修改 7 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-linux.c

    r36347 r36408  
    466466    rc = RTLogCreate(&pRelLogger, 0 /* fFlags */, "all",
    467467                     "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups,
    468                      RTLOGDEST_STDOUT | RTLOGDEST_DEBUGGER | RTLOGDEST_USER,
    469                      NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */,
    470                      NULL);
     468                     RTLOGDEST_STDOUT | RTLOGDEST_DEBUGGER | RTLOGDEST_USER, NULL);
    471469    if (RT_SUCCESS(rc))
    472470    {
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-solaris.c

    r36347 r36408  
    189189        rc = RTLogCreate(&pRelLogger, 0 /* fFlags */, "all",
    190190                         "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups,
    191                          RTLOGDEST_STDOUT | RTLOGDEST_DEBUGGER,
    192                          NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */,
    193                          NULL);
     191                         RTLOGDEST_STDOUT | RTLOGDEST_DEBUGGER, NULL);
    194192        if (RT_SUCCESS(rc))
    195193            RTLogRelSetDefaultInstance(pRelLogger);
  • trunk/src/VBox/Additions/common/VBoxGuest/freebsd/Makefile

    r35354 r36408  
    7878SRCS += \
    7979        RTStrCopy.c \
     80        RTStrCopyP.c \
    8081        strformat.c \
    8182        strformatrt.c \
  • trunk/src/VBox/Additions/common/VBoxGuest/freebsd/files_vboxguest

    r36190 r36408  
    112112    ${PATH_ROOT}/src/VBox/Runtime/common/misc/assert.cpp=>common/misc/assert.c \
    113113    ${PATH_ROOT}/src/VBox/Runtime/common/string/RTStrCopy.cpp=>common/string/RTStrCopy.c \
     114    ${PATH_ROOT}/src/VBox/Runtime/common/string/RTStrCopyP.cpp=>common/string/RTStrCopyP.c \
    114115    ${PATH_ROOT}/src/VBox/Runtime/common/string/strformat.cpp=>common/string/strformat.c \
    115116    ${PATH_ROOT}/src/VBox/Runtime/common/string/strformatrt.cpp=>common/string/strformatrt.c \
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/Makefile

    r36293 r36408  
    112112        common/misc/thread.o \
    113113        common/string/RTStrCopy.o \
     114        common/string/RTStrCopyP.o \
    114115        common/string/strformat.o \
    115116        common/string/strformatrt.o \
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest

    r36274 r36408  
    119119    ${PATH_ROOT}/src/VBox/Runtime/common/misc/thread.cpp=>common/misc/thread.c \
    120120    ${PATH_ROOT}/src/VBox/Runtime/common/string/RTStrCopy.cpp=>common/string/RTStrCopy.c \
     121    ${PATH_ROOT}/src/VBox/Runtime/common/string/RTStrCopyP.cpp=>common/string/RTStrCopyP.c \
    121122    ${PATH_ROOT}/src/VBox/Runtime/common/string/strformat.cpp=>common/string/strformat.c \
    122123    ${PATH_ROOT}/src/VBox/Runtime/common/string/strformatrt.cpp=>common/string/strformatrt.c \
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3Lib.cpp

    r36347 r36408  
    214214    static const char * const s_apszGroups[] = VBOX_LOGGROUP_NAMES;
    215215    int rc2 = RTLogCreate(&pReleaseLogger, 0, "all", "VBOX_RELEASE_LOG",
    216                           RT_ELEMENTS(s_apszGroups), &s_apszGroups[0], RTLOGDEST_USER,
    217                           NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */,
    218                           NULL);
     216                          RT_ELEMENTS(s_apszGroups), &s_apszGroups[0], RTLOGDEST_USER, NULL);
    219217    /* This may legitimately fail if we are using the mini-runtime. */
    220218    if (RT_SUCCESS(rc2))
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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