VirtualBox

Changeset 55843 in vbox


Ignore:
Timestamp:
May 13, 2015 11:33:39 AM (9 years ago)
Author:
vboxsync
Message:

Frontends/VBoxManage: allow configuring the VBoxSVC release logging level, plus documentation

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r55712 r55843  
    28822882          </glossdef>
    28832883        </glossentry>
     2884
     2885        <glossentry>
     2886          <glossterm><computeroutput>logginglevel</computeroutput></glossterm>
     2887
     2888          <glossdef>
     2889            <para>This configures the VBoxSVC release logging details.<footnote>
     2890              <para><ulink url="http://www.virtualbox.org/wiki/VBoxLogging">http://www.virtualbox.org/wiki/VBoxLogging</ulink>.</para>
     2891              </footnote>
     2892            </para>
     2893          </glossdef>
     2894        </glossentry>
    28842895      </glosslist></para>
    28852896  </sect1>
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r55674 r55843  
    689689                     "                            loghistorycount <value>\n"
    690690                     "                            defaultfrontend default|<name>\n"
     691                     "                            logginglevel <log setting>\n"
    691692                     "\n", SEP);
    692693
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp

    r53297 r55843  
    55
    66/*
    7  * Copyright (C) 2006-2014 Oracle Corporation
     7 * Copyright (C) 2006-2015 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    679679    systemProperties->COMGETTER(DefaultAdditionsISO)(str.asOutParam());
    680680    RTPrintf("Default Guest Additions ISO:     %ls\n", str.raw());
     681    systemProperties->COMGETTER(LoggingLevel)(str.asOutParam());
     682    RTPrintf("Logging Level:                   %ls\n", str.raw());
    681683    return S_OK;
    682684}
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r55234 r55843  
    906906        CHECK_ERROR(systemProperties, COMSETTER(DefaultFrontend)(bstrDefaultFrontend.raw()));
    907907    }
     908    else if (!strcmp(a->argv[0], "logginglevel"))
     909    {
     910        Bstr bstrLoggingLevel(a->argv[1]);
     911        if (!strcmp(a->argv[1], "default"))
     912            bstrLoggingLevel.setNull();
     913        CHECK_ERROR(systemProperties, COMSETTER(LoggingLevel)(bstrLoggingLevel.raw()));
     914    }
    908915    else
    909916        return errorSyntax(USAGE_SETPROPERTY, "Invalid parameter '%s'", a->argv[0]);
  • trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp

    r52596 r55843  
    55
    66/*
    7  * Copyright (C) 2006-2014 Oracle Corporation
     7 * Copyright (C) 2006-2015 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    11811181{
    11821182    Utf8Str useLoggingLevel(aLoggingLevel);
     1183    if (useLoggingLevel.isEmpty())
     1184        useLoggingLevel = VBOXSVC_LOG_DEFAULT;
    11831185    int rc = RTLogGroupSettings(RTLogRelDefaultInstance(), useLoggingLevel.c_str());
    11841186    //  If failed and not the default logging level - try to use the default logging level.
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