Class: MintPress::OracleTrafficDirector::Log

Inherits:
Object
  • Object
show all
Includes:
MintLogger, Mixins::Properties, OtdCommon
Defined in:
src/oracle-otd/lib/oracle-otd/generated/log.rb

Overview

set the following log properties:

Properties (Read/Write)

  • #name ⇒ String

    Property Attributes
    
    
    27
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 27
    
    property :name, type: String
  • #log_stdout ⇒ [TrueClass, FalseClass]
    'Whether the server logs data that applications write to stdout. Range of values: true or false. Default: true.'

    Property Attributes
    • set_proptrue
    
    
    32
    33
    34
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 32
    
    property :log_stdout, description: 'Whether the server logs data that applications write to stdout.
    Range of values: true or false.
    Default: true.', set_prop: true, type: [TrueClass, FalseClass]
  • #log_stderr ⇒ [TrueClass, FalseClass]
    'Whether the server logs data that applications write to stderr. Range of values: true or false. Default: true.'

    Property Attributes
    • set_proptrue
    
    
    38
    39
    40
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 38
    
    property :log_stderr, description: 'Whether the server logs data that applications write to stderr.
    Range of values: true or false.
    Default: true.', set_prop: true, type: [TrueClass, FalseClass]
  • #log_virtual_server ⇒ [TrueClass, FalseClass]
    'Whether the server includes the virtual server name in log messages. Range of values: true or false. Default: false.'

    Property Attributes
    • set_proptrue
    
    
    44
    45
    46
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 44
    
    property :log_virtual_server, description: 'Whether the server includes the virtual server name in log messages.
    Range of values: true or false.
    Default: false.', set_prop: true, type: [TrueClass, FalseClass]
  • #create_console ⇒ [TrueClass, FalseClass]
    '(Windows only) Whether the server creates a console window. Range of values: true or false. Default: false.'

    Property Attributes
    • set_proptrue
    
    
    50
    51
    52
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 50
    
    property :create_console, description: '(Windows only) Whether the server creates a console window.
    Range of values: true or false.
    Default: false.', set_prop: true, type: [TrueClass, FalseClass]
  • #log_to_console ⇒ [TrueClass, FalseClass]
    'Whether the server writes log messages to the console. Range of values: true or false. Default: true.'

    Property Attributes
    • set_proptrue
    
    
    56
    57
    58
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 56
    
    property :log_to_console, description: 'Whether the server writes log messages to the console.
    Range of values: true or false.
    Default: true.', set_prop: true, type: [TrueClass, FalseClass]
  • #log_to_syslog ⇒ [TrueClass, FalseClass]
    'Whether the server writes log messages to syslog (Unix) or the Event Viewer (Windows). Range of values: true or false. Default: false.'

    Property Attributes
    • set_proptrue
    
    
    62
    63
    64
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 62
    
    property :log_to_syslog, description: 'Whether the server writes log messages to syslog (Unix) or the Event Viewer (Windows).
    Range of values: true or false.
    Default: false.', set_prop: true, type: [TrueClass, FalseClass]
  • #archive_command ⇒ String
    'Command executed after the server rotates a log file. The file name of the log file, after rotation, is passed as an argument to the archive command.'

    Property Attributes
    • set_proptrue
    
    
    66
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 66
    
    property :archive_command, description: 'Command executed after the server rotates a log file. The file name of the log file, after rotation, is passed as an argument to the archive command.', set_prop: true, type: String
  • #log_level ⇒ String
    'Log verbosity for the server as a whole. Range of values: valid log levels are INCIDENT_ERROR:1, ERROR:1, ERROR:16, ERROR:32, WARNING:1, NOTIFICATION:1, TRACE:1, TRACE:16, and TRACE:32. TRACE:32 (finest) is the most verbose while INCIDENT_ERROR:1 (catastrophe) is the least verbose. Default: NOTIFICATION:1.'

    Property Attributes
    • set_proptrue
    
    
    70
    71
    72
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 70
    
    property :log_level, description: 'Log verbosity for the server as a whole.
    Range of values: valid log levels are INCIDENT_ERROR:1, ERROR:1, ERROR:16, ERROR:32, WARNING:1, NOTIFICATION:1, TRACE:1, TRACE:16, and TRACE:32. TRACE:32 (finest) is the most verbose while INCIDENT_ERROR:1 (catastrophe) is the least verbose.
    Default: NOTIFICATION:1.', set_prop: true, type: String
  • #log_file ⇒ String
    'Log file for the server as a whole. Default: $DOMAIN_HOME/servers/$INSTANCE_NAME/logs/server.log.'

    Property Attributes
    • set_proptrue
    
    
    75
    76
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 75
    
    property :log_file, description: 'Log file for the server as a whole.
    Default: $DOMAIN_HOME/servers/$INSTANCE_NAME/logs/server.log.', set_prop: true, type: String
  • #configuration ⇒ [MintPress::OracleTrafficDirector::Configuration]
    'Name of the configuration.'

    Property Attributes
    • set_proptrue
    • fromString
    
    
    78
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 78
    
    property :configuration, description: 'Name of the configuration.', set_prop: true, type: [MintPress::OracleTrafficDirector::Configuration], from: String
  • #parent ⇒ MintPress::OracleTrafficDirector::Configuration

    Property Attributes
    
    
    79
    # File 'src/oracle-otd/lib/oracle-otd/generated/log.rb', line 79
    
    property :parent, type: MintPress::OracleTrafficDirector::Configuration

Properties (Read Only)

Constant Summary collapse

MODEL_PARENTS =
["configuration"]
LIST_PARAMS =
nil
GET_PARAMS =
["configuration"]

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary collapse

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Attributes included from OtdCommon

#harvested

Instance Method Summary collapse

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Methods included from OtdCommon

#can_exist?, #creator_available?, #delete_generic, #delete_props, #destroy_generic, #disable_props, #empty_mbean?, #enable_prop_generic, #enable_props, #exist_generic?, #form_props, #get_domain, #get_property_from_target, #get_props, #handle_type, #harvest, #harvesters, #harvesting, #list_generic, #list_props, #otd_create_generic, #otd_propize, #set_prop_generic, #set_props

Constructor Details

#initialize(opts = {}) ⇒ Log

Returns a new instance of Log.

Instance Attribute Details

#get_paramsObject

Returns the value of attribute get_params.

#list_paramsObject

Returns the value of attribute list_params.

#model_parentsObject

Returns the value of attribute model_parents.

Instance Method Details

#createObject

#destroyObject

#exist?Boolean

Returns:

  • (Boolean)