OSID Logo
OSID Specifications
logging package
Version 3.1.0
Interfaceosid.logging.LoggingManager
Implementsosid.OsidManager
osid.logging.LoggingProfile
Used Byosid.orchestration.OrchestrationManager
Description

The logging manager provides access to logging sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • LoggingSession: a session to write to a log
  • LogEntryLookupSession: a session to read a log
  • LogEntryQuerySession: a session to search a log
  • LogEntrySearchSession: a session to search a log
  • LogEntryAdminSession: a session to manage log entries in a log
  • LogEntryNotificationSession: a session to subscribe to notifications of new log entries
  • LogEntryLogSession: a session to examine log entry to log mappings
  • LogEntryLogAssignmentSession: a session to manage log entry to log mappings
  • LogEntrySmartLogSession: a session to manage dynamic logs
  • LogLookupSession: a session to retrieve log objects
  • LogQuerySession: a session to search for logs
  • LogSearchSession: a session to search for logs
  • LogAdminSession: a session to create, update and delete logs
  • LogNotificationSession: a session to receive notifications for changes in logs
  • LogHierarchyTraversalSession: a session to traverse hierarchies of logs
  • LogHierarchyDesignSession: a session to manage hierarchies of logs

The logging manager also provides a profile for determing the supported search types supported by this service.

MethodgetLoggingSession
Description

Gets the OsidSession associated with the logging service.

Returnosid.logging.LoggingSession a LoggingSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogging() is false
Complianceoptional This method must be implemented if supportsLogging() is true.
MethodgetLoggingSessionForLog
Description

Gets the OsidSession associated with the logging service for the given log.

Parametersosid.id.IdlogId the Id of the Log
Returnosid.logging.LoggingSession a LoggingSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogging() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogging() and supportsVisibleFederation() are true
MethodgetLogEntryLookupSession
Description

Gets the OsidSession associated with the log reading service.

Returnosid.logging.LogEntryLookupSession a LogEntryLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryLookup() is false
Complianceoptional This method must be implemented if supportsLogEntryLookup() is true.
MethodgetLogEntryLookupSessionForLog
Description

Gets the OsidSession associated with the log reading service for the given log.

Parametersosid.id.IdlogId the Id of the Log
Returnosid.logging.LogEntryLookupSession a LogEntryLookupSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntryLookup() and supportsVisibleFederation() are true
MethodgetLogEntryQuerySession
Description

Gets the OsidSession associated with the logging entry query service.

Returnosid.logging.LogEntryQuerySession a LogEntryQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryQuery() is false
Complianceoptional This method must be implemented if supportsLogEntryQuery() is true.
MethodgetLogEntryQuerySessionForLog
Description

Gets the OsidSession associated with the log entry query service for the given log.

Parametersosid.id.IdlogId the Id of the Log
Returnosid.logging.LogEntryQuerySession a LogEntryQuerySession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntryQuery() and supportsVisibleFederation() are true
MethodgetLogEntrySearchSession
Description

Gets the OsidSession associated with the logging entry search service.

Returnosid.logging.LogEntrySearchSession a LogEntrySearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntrySearch() is false
Complianceoptional This method must be implemented if supportsLogEntrySearch() is true.
MethodgetLogEntrySearchSessionForLog
Description

Gets the OsidSession associated with the log entry search service for the given log.

Parametersosid.id.IdlogId the Id of the Log
Returnosid.logging.LogEntrySearchSession a LogEntrySearchSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntrySearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntrySearch() and supportsVisibleFederation() are true
MethodgetLogEntryAdminSession
Description

Gets the OsidSession associated with the logging entry administrative service.

Returnosid.logging.LogEntryAdminSession a LogEntryAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryAdmin() is false
Complianceoptional This method must be implemented if supportsLogEntryAdmin() is true.
MethodgetLogEntryAdminSessionForLog
Description

Gets the OsidSession associated with the log entry administrative service for the given log.

Parametersosid.id.IdlogId the Id of the Log
Returnosid.logging.LogEntryAdminSession a LogEntryAdminSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntryAdmin() and supportsVisibleFederation() are true
MethodgetLogEntryNotificationSession
Description

Gets the OsidSession associated with the logging entry notification service.

Parametersosid.logging.LogEntryReceiverlogEntryReceiver the receiver
Returnosid.logging.LogEntryNotificationSession a LogEntryNotificationSession
ErrorsNULL_ARGUMENT logEntryReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryNotification() is false
Complianceoptional This method must be implemented if supportsLogEntryNotification() is true.
MethodgetLogEntryNotificationSessionForLog
Description

Gets the OsidSession associated with the log entry notification service for the given log.

Parametersosid.logging.LogEntryReceiverlogEntryReceiver the receiver
osid.id.IdlogId the Id of the Log
Returnosid.logging.LogEntryNotificationSession a LogEntryNotificationSession
ErrorsNOT_FOUND no Log found by the given Id
NULL_ARGUMENT logEntryReceiver or logId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsLogEntryNotification() and supportsVisibleFederation() are true
MethodgetLogEntryLogSession
Description

Gets the session for retrieving log entry to log mappings.

Returnosid.logging.LogEntryLogSession a LogEntryLogSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryLog() is false
Complianceoptional This method must be implemented if supportsLogEntryLog() is true.
MethodgetLogEntryLogAssignmentSession
Description

Gets the session for assigning log entry to logs mappings.

Returnosid.logging.LogEntryLogAssignmentSession a LogEntryLogAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntryLogAssignment() is false
Complianceoptional This method must be implemented if supportsLogEntryLogAssignment() is true.
MethodgetLogEntrySmartLogSession
Description

Gets the session for managing dynamic logEntry log.

Parametersosid.id.IdlogId the Id of the log
Returnosid.logging.LogEntrySmartLogSession a LogEntrySmartLogSession
ErrorsNOT_FOUND logId not found
NULL_ARGUMENT logId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogEntrySmartLog() is false
Complianceoptional This method must be implemented if supportsLogEntrySmartLog() is true.
MethodgetLogLookupSession
Description

Gets the OsidSession associated with the log lookup service.

Returnosid.logging.LogLookupSession a LogLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogLookup() is false
Complianceoptional This method must be implemented if supportsLogLookup() is true.
MethodgetLogQuerySession
Description

Gets the OsidSession associated with the log query service.

Returnosid.logging.LogQuerySession a LogQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogQuery() is false
Complianceoptional This method must be implemented if supportsLogQuery() is true.
MethodgetLogSearchSession
Description

Gets the OsidSession associated with the log search service.

Returnosid.logging.LogSearchSession a LogSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogSearch() is false
Complianceoptional This method must be implemented if supportsLogSearch() is true.
MethodgetLogAdminSession
Description

Gets the OsidSession associated with the log administrative service.

Returnosid.logging.LogAdminSession a LogAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogAdmin() is false
Complianceoptional This method must be implemented if supportsLogAdmin() is true.
MethodgetLogNotificationSession
Description

Gets the OsidSession associated with the log notification service.

Parametersosid.logging.LogReceiverlogReceiver the receiver
Returnosid.logging.LogNotificationSession a LogNotificationSession
ErrorsNULL_ARGUMENT logReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogNotification() is false
Complianceoptional This method must be implemented if supportsLogNotification() is true.
MethodgetLogHierarchySession
Description

Gets the OsidSession associated with the log hierarchy service.

Returnosid.logging.LogHierarchySession a LogHierarchySession for logs
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogHierarchy() is false
Complianceoptional This method must be implemented if supportsLogHierarchy() is true.
MethodgetLogHierarchyDesignSession
Description

Gets the OsidSession associated with the log hierarchy design service.

Returnosid.logging.LogHierarchyDesignSession a HierarchyDesignSession for logs
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLogHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsLogHierarchyDesign() is true.
MethodgetLoggingBatchManager
Description

Gets a LoggingBatchManager.

Returnosid.logging.batch.LoggingBatchManager a LoggingBatchManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsLoggingBatch() is false
Complianceoptional This method must be implemented if supportsLoggingBatch() is true.