VirtualBox

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


Ignore:
Timestamp:
Mar 22, 2011 2:29:37 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70679
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/Frontends/VBoxBFE/VBoxBFE.cpp

    r35346 r36344  
    1111
    1212/*
    13  * Copyright (C) 2006-2009 Oracle Corporation
     13 * Copyright (C) 2006-2011 Oracle Corporation
    1414 *
    1515 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    11361136        PRTLOGGER pLogger;
    11371137        rc2 = RTLogCreateEx(&pLogger, RTLOGFLAGS_PREFIX_TIME_PROG, "all",
    1138                             "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups,
    1139                             RTLOGDEST_FILE, s_szError, sizeof(s_szError), "./VBoxBFE.log");
     1138                            "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups, RTLOGDEST_FILE,
     1139                            NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */,
     1140                            s_szError, sizeof(s_szError), "./VBoxBFE.log");
    11401141        if (RT_SUCCESS(rc2))
    11411142        {
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