This chapter describes the DCNM web services' API methods for the LogApp service.
Information About LogApp Service
This chapter defines the logging services exposed by the DCNM server.
Returns the default log level configured in DCNM server.
The default logging level
Returns the log level of the given comment.
If the returned LogLevel is not null, it means that user has explicitly set the returned log level to the given component. If the returned level is null, the user has not set any log level for this component explicitly and the default log level (returned by getDefaultLogLevel(OpContext)) has to be used for this component.
component—component whose log level needs to be returned
The log level of the given component
The given message is loged under Info
Sets default logging level to the given feature/service component.
If the component given is null, the default level will be set for all the DCNM feature components and services.
defaultLevel—logging level to be set as default.
The given component's logging level will be changed to the given logging level.
If the given component is null, the given log level is set to all features whereas if given log level is null, then the given component will be set with default level.
component—component whose log level is to be changed
logLevel—new log level need to be set to given component