updateloglevel

API Name

updateloglevel

Description

Enables the user to change the log level of the logs present in the given instance. It will also execute the synchronizing task for JAS, AIS, Orchestrator, and ADF instances.

REST Methods

POST

Precondition

Server Manager and Agent must be running.

Input Params

instanceName, logginLevel, logName. Note (Release 9.2.4.3): Add these additional parameters if there are duplicate instance names: agentHostName, jdeHome.

Sample Request

{"instanceName":"Jas_7501","loggingLevel":"APP","logName":"E1LOG"} This is the sample request if you have duplicate instance names: {"instanceName":"Jas_7501","loggingLevel":"APP","logName":"E1LOG","agentHostName":"jdesmc.example.com”, "jdeHome":"/slot/oracle/jde_agent_jas/SCFHA"}Note:Valid log level values are: SEVERE, WARN, APP, DEBUG This target type does not have this metric: jdbcserver

Return

HTTP status 200 is returned.

Sample Response

Exception

Throws an exception if the operation fails for any reason.