VirtualBox

Changeset 30460 in vbox


Ignore:
Timestamp:
Jun 28, 2010 12:16:49 PM (15 years ago)
Author:
vboxsync
Message:

Webservice: avoid creating empty log files in release builds

Location:
trunk/src/VBox/Main/webservice
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r30171 r30460  
    465465    }
    466466
     467#ifdef DEBUG
    467468    // logger instance
    468469    RTLogLoggerEx(LOG_INSTANCE, RTLOGGRPFLAGS_DJ, LOG_GROUP, "%s %s", pcszPrefix, psz);
     470#endif
    469471
    470472    RTStrFree(psz);
  • trunk/src/VBox/Main/webservice/vboxweb.h

    r28800 r30460  
    2424#define WEBDEBUG(a) if (g_fVerbose) { WebLog a; }
    2525
     26#ifdef DEBUG
    2627#define LOG_GROUP LOG_GROUP_WEBSERVICE
    2728#include <VBox/log.h>
     29#endif
    2830
    2931#include <VBox/com/VirtualBox.h>
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