Enable logging

To enable logging, run these commands on the Lighthouse local terminal:

root@lighthouse:~# ogconfig-cli

ogcfg> set <value> true

root-1-<value>: Integer <True>

ogcfg> push

OK

ogcfg> exit

Replace <value> with the desired setting:

  • system.logging_cli_enabled

  • system.logging_rest_enabled

  • system.logging_rest_request_enabled (requires system.logging_rest_enabled)

  • system.logging_rest_response_enabled (requires system.logging_rest_enabled)

  • To check if logging is enabled:

    To establish if logging is enabled run these commands on the Lighthouse local terminal:

    root@lighthouse:~# ogconfig-cli ogcfg> print system

    This will produce output with Boolean values:

    system.logging_cli_enabled (bool): false

  • system.logging_rest_enabled (bool): false

  • system.logging_rest_request_enabled (bool): false

  • system.logging_rest_response_enabled (bool): false