Comment 9 for bug 1336462

Revision history for this message
Thierry FAUCK (thierry-j) wrote :

The servicelog package is as follow:
NAME
       servicelog - query the contents of the servicelog

SYNOPSIS
       /usr/bin/servicelog [options]

DESCRIPTION
       The servicelog command queries and displays the contents of the system
       servicelog. You can use the --query option to select which events to
       report.

OPTIONS
       When run without any command-line arguments, servicelog will report
       statistics on the types of entries that have been logged to the data-
       base.

       --dump or -d
              Report every event currently logged to the database.

       --query="query-string" or -q "query-string"
              Specify the type of events to report. See the "QUERY STRINGS"
              section.

       --help or -h
              Display a help message and exit.

       --version or -V
              Display the version of the command and exit.

QUERY STRINGS
       Servicelog events are stored in a relational database. When you spec-
       ify --query, query-string is used in an SQL WHERE clause to select the
       events to report. Here are the column names you can use in query
       strings.

       id record ID

       time_logged, time_event, time_last_update
              e.g., '2008-02-08 14:30:05'

sudo /usr/bin/servicelog
Servicelog Statistics:

There are no open events that require action.

Summary of Logged Events:

        Type Total Open Closed Info

             -------------------------------
                   0 0 0 0

Logged Repair Actions: 0
Registered Notification Tools: 0
ubuntu@fauck4:~/sosreport-3.1$ sudo /usr/bin/servicelog --dump
ubuntu@fauck4:~/sosreport-3.1$ sudo /usr/bin/servicelog_notify --list
There are no registered notification tools.