LOG

Name

LOG -- Control iWRAP logging

Synopsis

LOG {mask} [target]

Description

To control iWRAP logging, you can use LOG command. The required parameter mask is a decimal number specifying which message categories are logged. The value is a sum of bitmasks, described in Table 7-1.

Table 7-1. Log bitmask descriptions

BitmaskDescription
0x00Log nothing.
0x01Enable logging of iWRAP connection related events (READY, CALL, CONNECT, RING, NO CARRIER) and fatal errors. This is the default.
0x02Enable logging of all iWRAP commands and events.
0x04Enable logging of iWRAP debugging messages.

The optional target parameter controls where the log messages are written. Possible targets are described in Table 7-2.

Table 7-2. Log target options

TextDescription
syslogLog using syslog. This is the default.
stdoutLog to standard output, which is the console where the Bluetooth service was last started. After boot, this is the management console.
iWRAPLog to iWRAP connection.
/path/to/fileLog to the file specified.

Reply

There is no reply.

Example


          READY.
          LOG 0
          LOG 1 syslog
          LOG 1 stdout
          LOG 2 iWRAP
          LOG 7 /tmp/everything.log