My Oracle Support Banner

EM12c, EM13c: How to Suppress "Logout successful" Printed at the End of EMCLI Python Script (Doc ID 2353206.1)

Last updated on JANUARY 29, 2018

Applies to:

Enterprise Manager Base Platform - Version to [Release 12.1 to 13.2]
Information in this document applies to any platform.


When using Enterprise Manager Cloud Control's EMCLI Script mode to execute a Python script using the Jython interpreter, a script prints "Logout successful" at the end of its execution:

print 'Hello EMCLI'
print version()

Execute it:

[oracle@example bin]$ emcli
Oracle Enterprise Manager 13c EM CLI Version

Logout successful
[oracle@example bin]$

The goal is to suppress this undesired output.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.