VirtualBox

Changeset 42680 in vbox


Ignore:
Timestamp:
Aug 8, 2012 1:15:37 PM (12 years ago)
Author:
vboxsync
Message:

Main/webservice: remove remaining stderr logging and convert to using the logger

File:
1 edited

Legend:

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

    r41100 r42680  
    679679
    680680/**
    681  * Implementation for WEBLOG macro defined in vboxweb.h; this prints a message
    682  * to the console and optionally to the file that may have been given to the
    683  * vboxwebsrv command line.
     681 * Prints a message to the webservice log file.
    684682 * @param pszFormat
     683 * @todo eliminate, has no significant additional value over direct calls to LogRel.
    685684 */
    686685void WebLog(const char *pszFormat, ...)
     
    14681467    WEBDEBUG(("   error, raising SOAP exception\n"));
    14691468
    1470     RTStrmPrintf(g_pStdErr, "API return code:            0x%08X (%Rhrc)\n", apirc, apirc);
    1471     RTStrmPrintf(g_pStdErr, "COM error info result code: 0x%lX\n", info.getResultCode());
    1472     RTStrmPrintf(g_pStdErr, "COM error info text:        %ls\n", info.getText().raw());
     1469    WebLog("API return code:            0x%08X (%Rhrc)\n", apirc, apirc);
     1470    WebLog("COM error info result code: 0x%lX\n", info.getResultCode();
     1471    WebLog("COM error info text:        %ls\n", info.getText().raw());
    14731472
    14741473    // allocated our own soap fault struct
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