Flush deferred log buffer to agent log file
- Last Updated: March 15, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Description
Writes the deferred log buffer of an agent or agents to the agent log file. For more information about deferred logging, see Use deferred logging in PAS for OpenEdge .
Note that you identify the specific agent by the
agentID
, which you can obtain by executing
/oemanager/applications/
ABL_app_name
/agents
, or you can specify
all
to flush the deferred log buffer to the agent log files of all agents in the application.
HTTP Operation
GET
URI
//
host_name
:
port
/oemanager/applications/
ABL_app_name
/agents/
{
agentID
| all
}/flushDeferredLog
Note:
Agent PID (for example,
1144
) or agent ID (for example,
W9UI_6dJQ-qSsk-o25mWAw
) can be used to identify the multi-session agent. Both values can be obtained using the
List agents
API.
Media type
application/vnd.progress+json
Response codes
200 Success 403 Access Denied 500 Unexpected Server Error
Command-line example
Flush deferred log buffer to agent log file for an agent with the agent ID
LdS8phtPR0GIrhRrrSL3Xg
:
|
Flush deferred log buffer to agent log file for all agents:
|
ABL HTTP client example
|
Request body example
NA
Response body example
|