Legato Logging Commands

Logging tool commands.

Lists all processes/components registered with the log daemon:

 log list 

Sets the log filter level. Log messages that are less severe than the filter are ignored: Must be one of EMERGENCY | CRITICAL | ERROR | WARNING | DEBUG:

 log level

Enables a trace by keyword. Any traces with a matching keyword is logged. The KEYWORD_STR is a trace keyword:

 log trace

Disables a trace keyword. Any traces with this keyword is not logged. The KEYWORD_STR is a trace keyword:

 log stoptrace

Forgets all settings for processes for the specified name:

 log forget

Displays help for log commands:

 log help

[DESTINATION] is optional and specifies the process and component where to send the command. The [DESTINATION] must be in this format:

 \process/componentName\

'process' can be a processName or a PID. If it's a processName, the command will apply to all processes with the same name. If it's a PID, it only apply to the process with the matching PID.

Both the 'process' and the 'componentName' can be replaced with an asterix ("*)" to mean all processes and/or all components.

If the [DESTINATION] is omitted, the default destination

\"*/*\" 

is used and applies to all processes and all components. The [in] preceding the [DESTINATION] is optional and may be omitted.

A command can be sent to a process/component that doesn't exist yet. It'll be saved and applied to the process/component when available. This way, you can pre-configure processes/components before they are spawned, but it's only valid if the [DESTINATION] is a process name. Otherwise, the 'process' will be dropped."


Copyright (C) Sierra Wireless, Inc. 2014. All rights reserved. Use of this work is subject to license.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines