VirtualBox

Changeset 76592 in vbox for trunk


Ignore:
Timestamp:
Jan 1, 2019 8:13:07 PM (6 years ago)
Author:
vboxsync
Message:

Main: Don't use Logging.h.

Location:
trunk/src/VBox/Main
Files:
83 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/initterm.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    43 * MS COM / XPCOM Abstraction Layer - Initialization and Termination.
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN
    1919#if !defined(VBOX_WITH_XPCOM)
    2020
     
    4343#include "VBox/com/AutoLock.h"
    4444
    45 #include "../include/Logging.h"
     45#include "../include/LoggingNew.h"
    4646
    4747#include <iprt/asm.h>
  • trunk/src/VBox/Main/include/HostUSBDeviceImpl.h

    r76562 r76592  
    2525#include "USBDeviceFilterImpl.h"
    2626#include <VBox/usb.h>
    27 #include "Logging.h"
    2827#include "HostUSBDeviceWrap.h"
    2928
  • trunk/src/VBox/Main/include/LoggingNew.h

    r76562 r76592  
    3737#include <VBox/log.h>
    3838
     39
     40#ifndef VBOXSVC_LOG_DEFAULT
     41# define VBOXSVC_LOG_DEFAULT "all"
     42#endif
     43
     44#ifndef VBOXSDS_LOG_DEFAULT
     45# define VBOXSDS_LOG_DEFAULT "all"
     46#endif
     47
    3948#endif /* !MAIN_INCLUDED_LoggingNew_h */
    4049/* vi: set tabstop=4 shiftwidth=4 expandtab: */
  • trunk/src/VBox/Main/src-all/AuthLibrary.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN
    1819#include "AuthLibrary.h"
    19 #include "Logging.h"
     20#include "LoggingNew.h"
    2021
    2122#include <iprt/err.h>
  • trunk/src/VBox/Main/src-all/AutoCaller.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VirtualBox object state implementation
    64 */
     
    1816 */
    1917
     18#define LOG_GROUP LOG_GROUP_MAIN
    2019#include <iprt/semaphore.h>
    2120
    2221#include "VirtualBoxBase.h"
    2322#include "AutoCaller.h"
    24 #include "Logging.h"
     23#include "LoggingNew.h"
    2524
    2625
  • trunk/src/VBox/Main/src-all/DisplayPNGUtil.cpp

    r76553 r76592  
    1616 */
    1717
    18 #include "Logging.h"
     18#define LOG_GROUP LOG_GROUP_MAIN_DISPLAY
    1919#include "DisplayImpl.h"
    2020
  • trunk/src/VBox/Main/src-all/EventImpl.cpp

    r76553 r76592  
    5050 */
    5151
     52#define LOG_GROUP LOG_GROUP_MAIN_EVENT
    5253#include <list>
    5354#include <map>
     
    5657#include "EventImpl.h"
    5758#include "AutoCaller.h"
    58 #include "Logging.h"
     59#include "LoggingNew.h"
    5960
    6061#include <iprt/asm.h>
  • trunk/src/VBox/Main/src-all/PCIDeviceAttachmentImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * PCI attachment information implmentation.
    64 */
     
    1816 */
    1917
     18#define LOG_GROUP LOG_GROUP_MAIN_PCIDEVICEATTACHMENT
    2019#include "PCIDeviceAttachmentImpl.h"
    2120#include "AutoCaller.h"
    2221#include "Global.h"
    23 #include "Logging.h"
     22#include "LoggingNew.h"
    2423
    2524#include <VBox/settings.h>
  • trunk/src/VBox/Main/src-all/ProgressImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox Progress COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_PROGRESS
    1919#include <iprt/types.h>
    20 
    2120
    2221#if defined(VBOX_WITH_XPCOM)
     
    3332#include "VirtualBoxErrorInfoImpl.h"
    3433
    35 #include "Logging.h"
    36 
    3734#include <iprt/time.h>
    3835#include <iprt/semaphore.h>
     
    4037
    4138#include <iprt/errcore.h>
     39
    4240#include "AutoCaller.h"
    43 
     41#include "LoggingNew.h"
    4442#include "VBoxEvents.h"
     43
    4544
    4645Progress::Progress()
  • trunk/src/VBox/Main/src-all/SharedFolderImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_SHAREDFOLDER
    1919#include "SharedFolderImpl.h"
    2020#if !defined(VBOX_COM_INPROC)
     
    2525
    2626#include "AutoCaller.h"
    27 #include "Logging.h"
    2827
    2928#include <iprt/param.h>
  • trunk/src/VBox/Main/src-all/VirtualBoxBase.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VirtualBox COM base classes implementation
    64 */
     
    1816 */
    1917
     18#define LOG_GROUP LOG_GROUP_MAIN
    2019#include <iprt/semaphore.h>
    2120#include <iprt/asm.h>
     
    3635#include "AutoCaller.h"
    3736#include "VirtualBoxErrorInfoImpl.h"
    38 #include "Logging.h"
    3937#include "Global.h"
     38#include "LoggingNew.h"
    4039
    4140#include "VBox/com/ErrorInfo.h"
  • trunk/src/VBox/Main/src-all/VirtualBoxErrorInfoImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBoxErrorInfo COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN
    1919#include "VirtualBoxErrorInfoImpl.h"
    20 #include "Logging.h"
    2120
    2221#include <VBox/com/ErrorInfo.h>
  • trunk/src/VBox/Main/src-client/xpcom/module.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * XPCOM module implementation functions
    54 */
     
    1615 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1716 */
     17
     18#define LOG_GROUP LOG_GROUP_MAIN
    1819
    1920/* Make sure all the stdint.h macros are included - must come first! */
     
    3435#include "RemoteUSBDeviceImpl.h"
    3536#include "USBDeviceImpl.h"
    36 
    37 #include "Logging.h"
    3837
    3938// XPCOM glue code unfolding
     
    7069        instance = 0;
    7170    }
     71
    7272    static nsresult GetInstance(VirtualBoxClient **inst)
    7373    {
     
    7676        {
    7777            instance = new VirtualBoxClientClassFactory();
    78             if (instance) {
     78            if (instance)
     79            {
    7980                instance->AddRef(); // protect FinalConstruct()
    8081                rv = instance->FinalConstruct();
     
    8384                else
    8485                    instance->AddRef(); // self-reference
    85             } else {
     86            }
     87            else
     88            {
    8689                rv = NS_ERROR_OUT_OF_MEMORY;
    8790            }
    88         } else {
     91        }
     92        else
     93        {
    8994            instance->AddRef();
    9095        }
     
    9297        return rv;
    9398    }
     99
    94100    static nsresult FactoryDestructor()
    95101    {
  • trunk/src/VBox/Main/src-global/win/VBoxSDS.cpp

    r76553 r76592  
    7979*   Header Files                                                                                                                 *
    8080*********************************************************************************************************************************/
     81#define LOG_GROUP LOG_GROUP_MAIN_VIRTUALBOXSDS
    8182#include <iprt/win/windows.h>
    8283#include <iprt/win/shlobj.h>
     
    8788
    8889#include "VirtualBoxSDSImpl.h"
    89 #include "Logging.h"
     90#include "LoggingNew.h"
    9091
    9192#include <iprt/errcore.h>
  • trunk/src/VBox/Main/src-global/win/VirtualBoxSDSImpl.cpp

    r76553 r76592  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_VIRTUALBOXSDS
    2223#include <VBox/com/VirtualBox.h>
    2324#include "VirtualBoxSDSImpl.h"
    2425
    2526#include "AutoCaller.h"
    26 #include "Logging.h"
     27#include "LoggingNew.h"
    2728
    2829#include <iprt/errcore.h>
  • trunk/src/VBox/Main/src-server/ApplianceImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18
     19/*********************************************************************************************************************************
     20*   Header Files                                                                                                                 *
     21*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_APPLIANCE
    1823#include <iprt/path.h>
    1924#include <iprt/cpp/utils.h>
     
    3035#include "SystemPropertiesImpl.h"
    3136#include "AutoCaller.h"
    32 #include "Logging.h"
     37#include "LoggingNew.h"
    3338#include "CertificateImpl.h"
    3439
  • trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_APPLIANCE
    1819#include <iprt/path.h>
    1920#include <iprt/dir.h>
     
    3132#include "MachineImpl.h"
    3233#include "MediumImpl.h"
     34#include "LoggingNew.h"
    3335#include "Global.h"
    3436#include "MediumFormatImpl.h"
     
    3638
    3739#include "AutoCaller.h"
    38 #include "Logging.h"
    3940
    4041#include "ApplianceImplPrivate.h"
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_APPLIANCE
    1819#include <iprt/alloca.h>
    1920#include <iprt/path.h>
     
    4546
    4647#include "AutoCaller.h"
    47 #include "Logging.h"
     48#include "LoggingNew.h"
    4849
    4950#include "ApplianceImplPrivate.h"
  • trunk/src/VBox/Main/src-server/AudioAdapterImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_AUDIOADAPTER
    1919#include "AudioAdapterImpl.h"
    2020#include "MachineImpl.h"
     
    2626#include "AutoStateDep.h"
    2727#include "AutoCaller.h"
    28 #include "Logging.h"
     28#include "LoggingNew.h"
    2929
    3030
  • trunk/src/VBox/Main/src-server/BIOSSettingsImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation - Machine BIOS settings.
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_BIOSSETTINGS
    1919#include "BIOSSettingsImpl.h"
    2020#include "MachineImpl.h"
     
    2626#include "AutoStateDep.h"
    2727#include "AutoCaller.h"
    28 #include "Logging.h"
     28#include "LoggingNew.h"
     29
    2930
    3031////////////////////////////////////////////////////////////////////////////////
  • trunk/src/VBox/Main/src-server/BandwidthControlImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_BANDWIDTHCONTROL
    1919#include "BandwidthControlImpl.h"
    2020#include "BandwidthGroupImpl.h"
     
    2424#include "AutoStateDep.h"
    2525#include "AutoCaller.h"
    26 #include "Logging.h"
     26#include "LoggingNew.h"
    2727
    2828#include <iprt/cpp/utils.h>
  • trunk/src/VBox/Main/src-server/BandwidthGroupImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_BANDWIDTHGROUP
    1919#include "BandwidthGroupImpl.h"
    2020#include "MachineImpl.h"
     
    2222
    2323#include "AutoCaller.h"
    24 #include "Logging.h"
     24#include "LoggingNew.h"
    2525
    2626#include <iprt/cpp/utils.h>
  • trunk/src/VBox/Main/src-server/CertificateImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_CERTIFICATE
    1819#include <iprt/err.h>
    1920#include <iprt/path.h>
     
    2627#include "AutoCaller.h"
    2728#include "Global.h"
    28 #include "Logging.h"
     29#include "LoggingNew.h"
    2930
    3031using namespace std;
  • trunk/src/VBox/Main/src-server/CloudProviderManagerImpl.cpp

    r76553 r76592  
    1717
    1818
     19#define LOG_GROUP LOG_GROUP_MAIN_CLOUDPROVIDERMANAGER
    1920#include <VBox/com/array.h>
    2021
     
    2324#include "ExtPackManagerImpl.h"
    2425#include "AutoCaller.h"
    25 #include "Logging.h"
     26#include "LoggingNew.h"
    2627
    2728
  • trunk/src/VBox/Main/src-server/DHCPServerImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VirtualBox COM class implementation
    64 */
     
    1816 */
    1917
    20 #include <string>
     18#define LOG_GROUP LOG_GROUP_MAIN_DHCPSERVER
    2119#include "NetworkServiceRunner.h"
    2220#include "DHCPServerImpl.h"
    2321#include "AutoCaller.h"
    24 #include "Logging.h"
     22#include "LoggingNew.h"
    2523
    2624#include <iprt/asm.h>
  • trunk/src/VBox/Main/src-server/DataStreamImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    4  * VirtualBox COM class implementation: DataStream
     3 * VirtualBox COM class implementation - DataStream
    54 */
    65
     
    2120*   Header Files                                                                                                                 *
    2221*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_DATASTREAM
    2323#include "DataStreamImpl.h"
    2424
    2525#include "AutoCaller.h"
    26 #include "Logging.h"
     26#include "LoggingNew.h"
    2727#include <iprt/errcore.h>
    2828
  • trunk/src/VBox/Main/src-server/GuestOSTypeImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_GUESTOSTYPE
    1919#include "GuestOSTypeImpl.h"
    2020#include "AutoCaller.h"
    21 #include "Logging.h"
     21#include "LoggingNew.h"
    2222#include <iprt/cpp/utils.h>
    2323
  • trunk/src/VBox/Main/src-server/HostDnsService.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_HOST
    1819#include <VBox/com/array.h>
    1920#include <VBox/com/ptr.h>
     
    2223#include <iprt/cpp/utils.h>
    2324
    24 #include "Logging.h"
     25#include "LoggingNew.h"
    2526#include "VirtualBoxImpl.h"
    2627#include <iprt/time.h>
  • trunk/src/VBox/Main/src-server/HostImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_HOST
     19
    1820#define __STDC_LIMIT_MACROS
    1921#define __STDC_CONSTANT_MACROS
     
    4244#include "MachineImpl.h"
    4345#include "AutoCaller.h"
    44 #include "Logging.h"
     46#include "LoggingNew.h"
    4547#include "Performance.h"
    4648
  • trunk/src/VBox/Main/src-server/HostNetworkInterfaceImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VirtualBox COM class implementation
    64 */
     
    1715 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1816 */
     17
     18#define LOG_GROUP LOG_GROUP_MAIN_HOSTNETWORKINTERFACE
    1919#include "HostNetworkInterfaceImpl.h"
    2020#include "AutoCaller.h"
    21 #include "Logging.h"
    2221#include "netif.h"
    2322#ifdef VBOX_WITH_RESOURCE_USAGE_API
     
    2524# include "PerformanceImpl.h"
    2625#endif
     26#include "LoggingNew.h"
    2727
    2828#include <iprt/cpp/utils.h>
  • trunk/src/VBox/Main/src-server/HostPower.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox interface to host's power notification service
    54 */
     
    2120*   Header Files                                                                                                                 *
    2221*********************************************************************************************************************************/
    23 
     22#define LOG_GROUP LOG_GROUP_MAIN_HOST
    2423#include "HostPower.h"
    25 #include "Logging.h"
     24#include "LoggingNew.h"
    2625
    2726#include <VBox/com/ptr.h>
  • trunk/src/VBox/Main/src-server/HostUSBDeviceImpl.cpp

    r76553 r76592  
    1717
    1818
     19#define LOG_GROUP LOG_GROUP_MAIN_HOSTUSBDEVICE
    1920#include <iprt/types.h> /* for UINT64_C */
    2021
     
    2526#include "USBProxyBackend.h"
    2627#include "USBIdDatabase.h"
     28#include "LoggingNew.h"
    2729
    2830#include "AutoCaller.h"
    29 #include "Logging.h"
    3031
    3132#include <VBox/err.h>
  • trunk/src/VBox/Main/src-server/HostVideoInputDeviceImpl.cpp

    r76553 r76592  
    1616 */
    1717
    18 
     18#define LOG_GROUP LOG_GROUP_MAIN_HOSTVIDEOINPUTDEVICE
    1919#include "HostVideoInputDeviceImpl.h"
    20 #include "Logging.h"
     20#include "LoggingNew.h"
    2121#include "VirtualBoxImpl.h"
    2222#ifdef VBOX_WITH_EXTPACK
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_MACHINE
     19
    1820/* Make sure all the stdint.h macros are included - must come first! */
    1921#ifndef __STDC_LIMIT_MACROS
     
    2426#endif
    2527
    26 #include "Logging.h"
     28#include "LoggingNew.h"
    2729#include "VirtualBoxImpl.h"
    2830#include "MachineImpl.h"
  • trunk/src/VBox/Main/src-server/MachineImplMoveVM.cpp

    r76553 r76592  
    1515 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1616 */
     17
     18#define LOG_GROUP LOG_GROUP_MAIN_MACHINE
    1719#include <iprt/fs.h>
    1820#include <iprt/dir.h>
     
    2628#include "MediumFormatImpl.h"
    2729#include "VirtualBoxImpl.h"
    28 #include "Logging.h"
     30#include "LoggingNew.h"
    2931
    3032/** @todo r=klaus this file is abusing the release log by putting pretty much
  • trunk/src/VBox/Main/src-server/Matching.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
     3 * @todo r=bird: brief description, please.
    34 *
    45 * Definition of template classes that provide simple API to
     
    1819 */
    1920
     21#define LOG_GROUP LOG_GROUP_MAIN
    2022#include "Matching.h"
    2123
    22 #include "Logging.h"
     24#include "LoggingNew.h"
    2325
    2426#include <stdlib.h>
  • trunk/src/VBox/Main/src-server/MediumAttachmentImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_MEDIUMATTACHMENT
    1919#include "MediumAttachmentImpl.h"
    2020#include "MachineImpl.h"
     
    2323
    2424#include "AutoCaller.h"
    25 #include "Logging.h"
     25#include "LoggingNew.h"
    2626
    2727#include <iprt/cpp/utils.h>
  • trunk/src/VBox/Main/src-server/MediumFormatImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * MediumFormat COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_MEDIUMFORMAT
    1919#include "MediumFormatImpl.h"
    2020#include "AutoCaller.h"
    21 #include "Logging.h"
     21#include "LoggingNew.h"
    2222
    2323#include <VBox/vd.h>
  • trunk/src/VBox/Main/src-server/MediumIOImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation: MediumIO
    54 */
     
    2120*   Header Files                                                                                                                 *
    2221*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_MEDIUMIO
    2323#include "MediumIOImpl.h"
    2424#include "MediumImpl.h"
     
    3030
    3131#include "AutoCaller.h"
    32 #include "Logging.h"
     32#include "LoggingNew.h"
    3333#include "ThreadTask.h"
    3434
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r76553 r76592  
    1515 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1616 */
     17
     18#define LOG_GROUP LOG_GROUP_MAIN_MEDIUM
    1719#include "MediumImpl.h"
    1820#include "MediumIOImpl.h"
     
    2426
    2527#include "AutoCaller.h"
    26 #include "Logging.h"
     28#include "LoggingNew.h"
    2729#include "ThreadTask.h"
    2830#include "VBox/com/MultiResult.h"
  • trunk/src/VBox/Main/src-server/NATEngineImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_NATENGINE
    1819#include "NATEngineImpl.h"
    1920#include "AutoCaller.h"
    20 #include "Logging.h"
     21#include "LoggingNew.h"
    2122#include "MachineImpl.h"
    2223
  • trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp

    r76553 r76592  
    1616 */
    1717
    18 #include <string>
     18#define LOG_GROUP LOG_GROUP_MAIN_NATNETWORK
    1919#include "NetworkServiceRunner.h"
    2020#include "DHCPServerImpl.h"
    2121#include "NATNetworkImpl.h"
    2222#include "AutoCaller.h"
    23 #include "Logging.h"
    2423
    2524#include <iprt/asm.h>
     
    3231
    3332#include "EventImpl.h"
     33#include "LoggingNew.h"
    3434
    3535#include "VirtualBoxImpl.h"
  • trunk/src/VBox/Main/src-server/NetworkAdapterImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_NETWORKADAPTER
    1819#include "NetworkAdapterImpl.h"
    1920#include "NATEngineImpl.h"
    2021#include "AutoCaller.h"
    21 #include "Logging.h"
     22#include "LoggingNew.h"
    2223#include "MachineImpl.h"
    2324#include "GuestOSTypeImpl.h"
  • trunk/src/VBox/Main/src-server/ParallelPortImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_PARALLELPORT
    1819#include "ParallelPortImpl.h"
    1920#include "MachineImpl.h"
     
    2728#include "AutoStateDep.h"
    2829#include "AutoCaller.h"
    29 #include "Logging.h"
     30#include "LoggingNew.h"
    3031
    3132////////////////////////////////////////////////////////////////////////////////
  • trunk/src/VBox/Main/src-server/Performance.cpp

    r76553 r76592  
    1616 */
    1717
    18 /*
     18/**
    1919 * @todo list:
    2020 *
     
    2222 */
    2323
     24#define LOG_GROUP LOG_GROUP_MAIN_PERFORMANCECOLLECTOR
    2425#ifndef VBOX_COLLECTOR_TEST_CASE
    25 #include "VirtualBoxImpl.h"
    26 #include "MachineImpl.h"
    27 #include "MediumImpl.h"
    28 #include "AutoCaller.h"
     26# include "VirtualBoxImpl.h"
     27# include "MachineImpl.h"
     28# include "MediumImpl.h"
     29# include "AutoCaller.h"
    2930#endif
    3031#include "Performance.h"
  • trunk/src/VBox/Main/src-server/PerformanceImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VBox Performance API COM Classes implementation
    64 */
     
    3230 */
    3331
     32#define LOG_GROUP LOG_GROUP_MAIN_PERFORMANCECOLLECTOR
    3433#include "PerformanceImpl.h"
    3534
    3635#include "AutoCaller.h"
    37 #include "Logging.h"
     36#include "LoggingNew.h"
    3837
    3938#include <iprt/process.h>
  • trunk/src/VBox/Main/src-server/ProgressProxyImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_PROGRESS
    1819#include <iprt/types.h>
    1920
     
    2324#include "VirtualBoxErrorInfoImpl.h"
    2425
    25 #include "Logging.h"
     26#include "LoggingNew.h"
    2627
    2728#include <iprt/time.h>
    2829#include <iprt/semaphore.h>
    29 
    3030#include <iprt/errcore.h>
    3131
  • trunk/src/VBox/Main/src-server/SerialPortImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_SERIALPORT
    1919#include "SerialPortImpl.h"
    2020#include "MachineImpl.h"
     
    3030#include "AutoStateDep.h"
    3131#include "AutoCaller.h"
    32 #include "Logging.h"
     32#include "LoggingNew.h"
    3333
    3434//////////////////////////////////////////////////////////////////////////////////
  • trunk/src/VBox/Main/src-server/SnapshotImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_SNAPSHOT
    1819#include <set>
    1920#include <map>
    2021
    21 #include "Logging.h"
    2222#include "SnapshotImpl.h"
     23#include "LoggingNew.h"
    2324
    2425#include "MachineImpl.h"
  • trunk/src/VBox/Main/src-server/StorageControllerImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * Implementation of IStorageController.
    64 */
     
    1816 */
    1917
     18#define LOG_GROUP LOG_GROUP_MAIN_STORAGECONTROLLER
    2019#include "StorageControllerImpl.h"
    2120#include "MachineImpl.h"
     
    3332#include "AutoStateDep.h"
    3433#include "AutoCaller.h"
    35 #include "Logging.h"
     34#include "LoggingNew.h"
    3635
    3736// defines
  • trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_SYSTEMPROPERTIES
    1819#include "SystemPropertiesImpl.h"
    1920#include "VirtualBoxImpl.h"
     
    2425#include "AutoCaller.h"
    2526#include "Global.h"
    26 #include "Logging.h"
     27#include "LoggingNew.h"
    2728#include "AutostartDb.h"
    2829
  • trunk/src/VBox/Main/src-server/TokenImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    4  * Token COM class implementation: MachineToken and MediumLockToken
     3 * Token COM class implementation - MachineToken and MediumLockToken
    54 */
    65
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_TOKEN
    1919#include "TokenImpl.h"
    2020#include "MachineImpl.h"
    2121#include "MediumImpl.h"
    2222#include "AutoCaller.h"
    23 #include "Logging.h"
     23#include "LoggingNew.h"
    2424
    2525// constructor / destructor
  • trunk/src/VBox/Main/src-server/USBControllerImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_USBCONTROLLER
    1819#include "USBControllerImpl.h"
    1920
     
    3435#include "AutoStateDep.h"
    3536#include "AutoCaller.h"
    36 #include "Logging.h"
     37#include "LoggingNew.h"
    3738
    3839// defines
  • trunk/src/VBox/Main/src-server/USBDeviceFilterImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_USBDEVICEFILTER
    1819#include "USBDeviceFilterImpl.h"
    1920#include "USBDeviceFiltersImpl.h"
     
    2627#include "AutoStateDep.h"
    2728#include "AutoCaller.h"
    28 #include "Logging.h"
     29#include "LoggingNew.h"
    2930
    3031////////////////////////////////////////////////////////////////////////////////
  • trunk/src/VBox/Main/src-server/USBDeviceFiltersImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_USBDEVICEFILTERS
    1819#include "USBDeviceFiltersImpl.h"
    1920
     
    4041#include "AutoStateDep.h"
    4142#include "AutoCaller.h"
    42 #include "Logging.h"
     43#include "LoggingNew.h"
    4344
    4445// defines
  • trunk/src/VBox/Main/src-server/USBProxyBackend.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_USBPROXYBACKEND
    1819#include "USBProxyBackend.h"
    1920#include "USBProxyService.h"
     
    2425
    2526#include "AutoCaller.h"
    26 #include "Logging.h"
     27#include "LoggingNew.h"
    2728
    2829#include <VBox/com/array.h>
  • trunk/src/VBox/Main/src-server/USBProxyService.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_USBPROXYBACKEND
    1819#include "USBProxyService.h"
    1920#include "HostUSBDeviceImpl.h"
     
    2324
    2425#include "AutoCaller.h"
    25 #include "Logging.h"
     26#include "LoggingNew.h"
    2627
    2728#include <VBox/com/array.h>
  • trunk/src/VBox/Main/src-server/VFSExplorerImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_VFSEXPLORER
    1819#include <iprt/dir.h>
    1920#include <iprt/path.h>
     
    3233
    3334#include "AutoCaller.h"
    34 #include "Logging.h"
     35#include "LoggingNew.h"
    3536#include "ThreadTask.h"
    3637
  • trunk/src/VBox/Main/src-server/VRDEServerImpl.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox COM class implementation
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_VRDESERVER
    1919#include "VRDEServerImpl.h"
    2020#include "MachineImpl.h"
     
    3838#include "AutoCaller.h"
    3939#include "Global.h"
    40 #include "Logging.h"
     40#include "LoggingNew.h"
    4141
    4242// defines
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_VIRTUALBOX
    1819#include <iprt/asm.h>
    1920#include <iprt/base64.h>
     
    7879#include "AutostartDb.h"
    7980#include "ClientWatcher.h"
    80 
    8181#include "AutoCaller.h"
    82 #include "Logging.h"
    83 
    84 # include "CloudProviderManagerImpl.h"
     82#include "LoggingNew.h"
     83#include "CloudProviderManagerImpl.h"
     84#include "ThreadTask.h"
    8585
    8686#include <QMTranslator.h>
     
    9191#endif
    9292
    93 #include "ThreadTask.h"
    9493
    9594////////////////////////////////////////////////////////////////////////////////
  • trunk/src/VBox/Main/src-server/darwin/HostPowerDarwin.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_HOST
    1819#include "HostPower.h"
    19 #include "Logging.h"
     20#include "LoggingNew.h"
    2021#include <iprt/errcore.h>
    2122
  • trunk/src/VBox/Main/src-server/darwin/NetIf-darwin.cpp

    r76553 r76592  
    2121*   Header Files                                                                                                                 *
    2222*********************************************************************************************************************************/
     23#define LOG_GROUP LOG_GROUP_MAIN_HOST
     24
    2325/*
    2426 * Deal with conflicts first.
     
    5254#include "netif.h"
    5355#include "iokit.h"
    54 #include "Logging.h"
     56#include "LoggingNew.h"
    5557
    5658#if 0
  • trunk/src/VBox/Main/src-server/darwin/USBProxyBackendDarwin.cpp

    r76553 r76592  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_USBPROXYBACKEND
    2223#include "USBProxyBackend.h"
    23 #include "Logging.h"
     24#include "LoggingNew.h"
    2425#include "iokit.h"
    2526
  • trunk/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp

    r76553 r76592  
    2525*   Header Files                                                                                                                 *
    2626*********************************************************************************************************************************/
    27 #define LOG_GROUP LOG_GROUP_MAIN
     27#define LOG_GROUP LOG_GROUP_MAIN_HOST
    2828#include <sys/types.h>
    2929
     
    5454#include "HostNetworkInterfaceImpl.h"
    5555#include "netif.h"
    56 #include "Logging.h"
     56#include "LoggingNew.h"
    5757
    5858#define ROUNDUP(a) \
  • trunk/src/VBox/Main/src-server/freebsd/USBProxyBackendFreeBSD.cpp

    r76553 r76592  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_USBPROXYBACKEND
    2223#include "USBProxyBackend.h"
    23 #include "Logging.h"
     24#include "LoggingNew.h"
    2425
    2526#include <VBox/usb.h>
     
    4748#include <dev/usb/usb_ioctl.h>
    4849
    49 
    50 /*********************************************************************************************************************************
    51 *   Structures and Typedefs                                                                                                      *
    52 *********************************************************************************************************************************/
    53 
    54 
    55 /*********************************************************************************************************************************
    56 *   Global Variables                                                                                                             *
    57 *********************************************************************************************************************************/
    5850
    5951/**
  • trunk/src/VBox/Main/src-server/generic/USBProxyBackendUsbIp.cpp

    r76553 r76592  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_USBPROXYBACKEND
    2223#include "USBProxyService.h"
    2324#include "USBGetDevices.h"
    24 #include "Logging.h"
     25#include "LoggingNew.h"
    2526
    2627#include <VBox/usb.h>
  • trunk/src/VBox/Main/src-server/linux/HostPowerLinux.cpp

    r76553 r76592  
     1/* $Id$ */
    12/** @file
    2  *
    33 * VirtualBox interface to host's power notification service
    44 */
     
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_HOST
    1819#include "HostPower.h"
    19 #include "Logging.h"
     20#include "LoggingNew.h"
    2021
    2122#include <iprt/asm.h>
  • trunk/src/VBox/Main/src-server/linux/NetIf-linux.cpp

    r76553 r76592  
    2121*   Header Files                                                                                                                 *
    2222*********************************************************************************************************************************/
    23 #define LOG_GROUP LOG_GROUP_MAIN
     23#define LOG_GROUP LOG_GROUP_MAIN_HOST
    2424
    2525#include <iprt/errcore.h>
     
    3737#include "HostNetworkInterfaceImpl.h"
    3838#include "netif.h"
    39 #include "Logging.h"
     39#include "LoggingNew.h"
    4040
    4141/**
  • trunk/src/VBox/Main/src-server/linux/PerformanceLinux.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VBox Linux-specific Performance Classes implementation.
    64 */
     
    1816 */
    1917
     18#define LOG_GROUP LOG_GROUP_MAIN_PERFORMANCECOLLECTOR
    2019#include <stdio.h>
    2120#include <unistd.h>
     
    3736#include <vector>
    3837
    39 #include "Logging.h"
     38#include "LoggingNew.h"
    4039#include "Performance.h"
    4140
  • trunk/src/VBox/Main/src-server/linux/USBProxyBackendLinux.cpp

    r76553 r76592  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_USBPROXYBACKEND
    2223#include "USBProxyService.h"
    2324#include "USBGetDevices.h"
    24 #include "Logging.h"
     25#include "LoggingNew.h"
    2526
    2627#include <VBox/usb.h>
  • trunk/src/VBox/Main/src-server/os2/USBProxyBackendOs2.cpp

    r76553 r76592  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_USBPROXYBACKEND
    2223#define INCL_BASE
    2324#define INCL_ERRORS
    2425#include "USBProxyBackend.h"
    25 #include "Logging.h"
     26#include "LoggingNew.h"
    2627
    2728#include <VBox/usb.h>
  • trunk/src/VBox/Main/src-server/solaris/NetIf-solaris.cpp

    r76553 r76592  
    2121*   Header Files                                                                                                                 *
    2222*********************************************************************************************************************************/
    23 #define LOG_GROUP LOG_GROUP_MAIN
     23#define LOG_GROUP LOG_GROUP_MAIN_HOST
    2424
    2525#include <iprt/errcore.h>
     
    2929#include <list>
    3030
    31 #include "Logging.h"
     31#include "LoggingNew.h"
    3232#include "HostNetworkInterfaceImpl.h"
    3333#include "netif.h"
  • trunk/src/VBox/Main/src-server/solaris/PerformanceSolaris.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VBox Solaris-specific Performance Classes implementation.
    64 */
     
    1816 */
    1917
     18#define LOG_GROUP LOG_GROUP_MAIN_PERFORMANCECOLLECTOR
    2019#undef _FILE_OFFSET_BITS
    2120#include <procfs.h>
     
    3837#include <iprt/system.h>
    3938
    40 #include "Logging.h"
     39#include "LoggingNew.h"
    4140#include "Performance.h"
    4241
  • trunk/src/VBox/Main/src-server/solaris/USBProxyBackendSolaris.cpp

    r76553 r76592  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_USBPROXYBACKEND
    2223#include "USBProxyBackend.h"
    23 #include "Logging.h"
     24#include "LoggingNew.h"
    2425
    2526#include <VBox/usb.h>
  • trunk/src/VBox/Main/src-server/win/HostPowerWin.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * VirtualBox interface to host's power notification service
    54 */
     
    2120*   Header Files                                                                                                                 *
    2221*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_HOST
    2323#include <iprt/win/windows.h>
    2424/* Some SDK versions lack the extern "C" and thus cause linking failures.
     
    3131#include <iprt/errcore.h>
    3232#include "HostPower.h"
    33 #include "Logging.h"
     33#include "LoggingNew.h"
    3434
    3535
  • trunk/src/VBox/Main/src-server/win/NetIf-win.cpp

    r76553 r76592  
    2121*   Header Files                                                                                                                 *
    2222*********************************************************************************************************************************/
    23 #define LOG_GROUP LOG_GROUP_MAIN
     23#define LOG_GROUP LOG_GROUP_MAIN_HOST
    2424
    2525#define NETIF_WITHOUT_NETCFG
     
    4242#include <iprt/win/ntddndis.h>
    4343
    44 #include "Logging.h"
     44#include "LoggingNew.h"
    4545#include "HostNetworkInterfaceImpl.h"
    4646#include "ProgressImpl.h"
  • trunk/src/VBox/Main/src-server/win/PerformanceWin.cpp

    r76553 r76592  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VBox Windows-specific Performance Classes implementation.
    64 */
     
    1816 */
    1917
     18#define LOG_GROUP LOG_GROUP_MAIN_PERFORMANCECOLLECTOR
    2019#ifndef _WIN32_WINNT
    21 #define _WIN32_WINNT 0x0500
     20# define _WIN32_WINNT 0x0500
    2221#else /* !_WIN32_WINNT */
    23 #if (_WIN32_WINNT < 0x0500)
    24 #error Win XP or later required!
    25 #endif /* _WIN32_WINNT < 0x0500 */
     22# if (_WIN32_WINNT < 0x0500)
     23#  error Win XP or later required!
     24# endif /* _WIN32_WINNT < 0x0500 */
    2625#endif /* !_WIN32_WINNT */
    2726
     
    4140#include <map>
    4241
    43 #include "Logging.h"
     42#include "LoggingNew.h"
    4443#include "Performance.h"
    4544
  • trunk/src/VBox/Main/src-server/win/USBProxyBackendWindows.cpp

    r76553 r76592  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_MAIN_USBPROXYBACKEND
    2223#include "USBProxyBackend.h"
    23 #include "Logging.h"
     24#include "LoggingNew.h"
    2425
    2526#include <VBox/usb.h>
  • trunk/src/VBox/Main/src-server/win/svchlp.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN
    1819#include "svchlp.h"
    1920
    2021//#include "HostImpl.h"
    21 #include "Logging.h"
     22#include "LoggingNew.h"
    2223
    2324#include <iprt/errcore.h>
    2425
    25 int netIfNetworkInterfaceHelperServer (SVCHlpClient *aClient,
    26                                         SVCHlpMsg::Code aMsgCode);
     26int netIfNetworkInterfaceHelperServer(SVCHlpClient *aClient, SVCHlpMsg::Code aMsgCode);
    2727
    2828using namespace com;
  • trunk/src/VBox/Main/src-server/win/svcmain.cpp

    r76553 r76592  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
    22 # include <iprt/win/windows.h>
     22#define LOG_GROUP LOG_GROUP_MAIN_VBOXSVC
     23#include <iprt/win/windows.h>
    2324#ifdef DEBUG_bird
    2425# include <RpcAsync.h>
     
    3031
    3132#include "VirtualBoxImpl.h"
    32 #include "Logging.h"
     33#include "LoggingNew.h"
    3334
    3435#include "svchlp.h"
  • trunk/src/VBox/Main/src-server/xpcom/server.cpp

    r76553 r76592  
    1616 */
    1717
     18#define LOG_GROUP LOG_GROUP_MAIN_VBOXSVC
    1819#include <ipcIService.h>
    1920#include <ipcCID.h>
     
    2829#include "server.h"
    2930
    30 #include "Logging.h"
     31#include "LoggingNew.h"
    3132
    3233#include <VBox/param.h>
  • trunk/src/VBox/Main/src-server/xpcom/server_module.cpp

    r76553 r76592  
    11/* $Id$ */
    22/** @file
    3  *
    43 * XPCOM server process helper module implementation functions
    54 */
     
    1716 */
    1817
     18#define LOG_GROUP LOG_GROUP_MAIN_VBOXSVC
    1919#ifdef RT_OS_OS2
    2020# include <prproces.h>
     
    4646
    4747#include "server.h"
    48 #include "Logging.h"
     48#include "LoggingNew.h"
    4949
    5050#include <iprt/errcore.h>
  • trunk/src/VBox/Main/xml/Settings.cpp

    r76553 r76592  
    7070 */
    7171
     72#define LOG_GROUP LOG_GROUP_MAIN
    7273#include "VBox/com/string.h"
    7374#include "VBox/settings.h"
     
    8687#include "SchemaDefs.h"
    8788
    88 #include "Logging.h"
    8989#include "HashedPw.h"
     90#include "LoggingNew.h"
    9091
    9192using namespace com;
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