Skip to content

Commit

Permalink
Added "Debugging" section in README
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Jan 26, 2016
1 parent ec84ab4 commit a58ffb6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ in trying to contact the controller again;

If the test succeeds, the configuration is considered applied and the backup is deleted.

If the test fails, the backup is restored and the agent will log the failure via syslog.
If the test fails, the backup is restored and the agent will log the failure via syslog
(see `Debugging`_ for more information on auditing logs).

Disable testing
^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -118,6 +119,21 @@ The following procedure illustrates how to compile *openwisp-config* and its dep
make package/openwisp-config/compile
make package/openwisp-config/install
Debugging
---------

Debugging *openwisp-config* can be easily done by using the ``logread`` command:

.. code-block:: shell
logread
Use grep to filter out any other log message:

.. code-block:: shell
logread | grep openwisp
Changelog
---------

Expand Down

0 comments on commit a58ffb6

Please sign in to comment.