VirtualBox

Ignore:
Timestamp:
Dec 6, 2021 1:29:09 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148661
Message:

IPRT/RTProcCreateEx/posix: Use release logging for translation failures and LogRel3 for the raw pszEnvDump. bugref:10153

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp

    r92672 r92750  
    808808static int rtProcPosixProfileEnvHarvest(RTENV hEnvToUse, char *pszEnvDump, bool fWithMarkers)
    809809{
    810     LogFunc(("**** pszEnvDump start ****\n%s**** pszEnvDump end ****\n", pszEnvDump));
     810    LogRel3(("**** pszEnvDump start ****\n%s**** pszEnvDump end ****\n", pszEnvDump));
     811    if (!LogIs3Enabled())
     812        LogFunc(("**** pszEnvDump start ****\n%s**** pszEnvDump end ****\n", pszEnvDump));
    811813
    812814    /*
     
    14081410        else
    14091411        {
    1410             Log(("Failed to convert argument #%u '%s' to '%s': %Rrc\n", i, papszArgs[i], pszEncoding, rc));
     1412            LogRelMax(100, ("Failed to convert argument #%u '%s' to '%s': %Rrc\n", i, papszArgs[i], pszEncoding, rc));
    14111413            while (i-- > 0)
    14121414                RTStrFree(papszArgsConverted[i]);
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