VirtualBox

Changeset 36344 in vbox for trunk/src/VBox/Main/src-server


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/Main/src-server/generic/OpenGLTestApp.cpp

    r33806 r36344  
    55
    66/*
    7  * Copyright (C) 2009-2010 Oracle Corporation
     7 * Copyright (C) 2009-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    133133
    134134    int vrc = RTLogCreateEx(&loggerRelease, fFlags, "all",
    135                             "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups,
    136                             enmLogDest, szError, sizeof(szError), pszFilenameFmt, pszFilename, RTTimeMilliTS());
     135                            "VBOX_RELEASE_LOG", RT_ELEMENTS(s_apszGroups), s_apszGroups, enmLogDest,
     136                            NULL /* pfnBeginEnd */, 0 /* cHistory */, 0 /* cbHistoryFileMax */, 0 /* uHistoryTimeMax */,
     137                            szError, sizeof(szError), pszFilenameFmt, pszFilename, RTTimeMilliTS());
    137138    if (RT_SUCCESS(vrc))
    138139    {
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