VirtualBox

Changeset 36344 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Mar 22, 2011 2:29:37 PM (14 years ago)
Author:
vboxsync
Message:

Runtime/log: implement log rotation, adapt all code creating log files and make use of it in the webservice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r36265 r36344  
    55
    66/*
    7  * Copyright (C) 2006-2010 Oracle Corporation
     7 * Copyright (C) 2006-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    425425    PRTLOGGER pRelLogger;
    426426    rc = RTLogCreate(&pRelLogger, 0 /* fFlags */, "all",
    427                      "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups,
    428                      RTLOGDEST_STDOUT | RTLOGDEST_DEBUGGER, NULL);
     427                     "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups, RTLOGDEST_STDOUT | RTLOGDEST_DEBUGGER,
     428                     NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */,
     429                     NULL);
    429430    if (RT_SUCCESS(rc))
    430431        RTLogRelSetDefaultInstance(pRelLogger);
     
    47464747                                 s_apszGroups,
    47474748                                 RTLOGDEST_STDOUT | RTLOGDEST_DEBUGGER,
     4749                                 NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */,
    47484750                                 NULL);
    47494751                if (RT_SUCCESS(rc))
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