Class GetZosLog


  • public class GetZosLog
    extends Object
    Get zos log via z/OSMF restful api
    Version:
    1.0
    Author:
    Frank Giordano
    • Constructor Detail

      • GetZosLog

        public GetZosLog​(ZOSConnection connection)
        GetZosLog constructor
        Parameters:
        connection - connection information, see ZOSConnection object
      • GetZosLog

        public GetZosLog​(ZOSConnection connection,
                         ZoweRequest request)
                  throws Exception
        Alternative GetZosLog constructor with ZoweRequest object. This is mainly used for internal code unit testing with mockito, and it is not recommended to be used by the larger community.
        Parameters:
        connection - connection information, see ZOSConnection object
        request - any compatible ZoweRequest Interface type object
        Throws:
        Exception - processing error
    • Method Detail

      • getZosLog

        public ZosLogReply getZosLog​(ZosLogParams params)
                              throws Exception
        Issue a z/OSMF syslog command, returns "raw" z/OSMF response.
        Parameters:
        params - ZosLogParams object
        Returns:
        ZosLogReply object with log messages/items
        Throws:
        Exception - processing error