Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Prior to version 1.1, this method was named 'system_log.save', and the only parameters available were 'enable', 'hostname', and 'port'.

Arguments

name

required

value type

default

enable

yes

boolean

0

hostname

no

sip_endpoint

none

port

no

integer representing the auto-increment field from the database

514

verbose

no

boolean

0

system

no

boolean

0

debug_level

no

integer

0-10

facility

yes

integer, syslog facility

0-5

sip

no

boolean

0

kernel

no

boolean

0

pri

no

boolean

0

dtmf

no

boolean

0

pri_enable

no

string

standard, intense

enable_adv

no

boolean

0

Example Requests & Responses

...

Code Block
{
    'method' => 'remote_logging.save',
    'parameters' => {
          'enable                      'verbose' => 0'1',
                                'system' => '1',
                                'debug_level' => '3',
                                'hostname' => 'mysyslogserver.example.tld',
                                'facility' => '2',
                                'sip' => '1',
                                'kernel' => '1',
                                'pri' => '1',
                                'enable' => '1',
                                'dtmf' => '1',
                                'port' => '514',
                                'pri_level' => 'standard',
                                'enable_adv' => '1',
        }

Response

Code Block
{
          'result' => 'success'
 }

...