Skip to content

HowTo Create and upload sppmon logs

Niels Korschinsky edited this page Sep 1, 2022 · 4 revisions

HowTo: Create and upload SPPmon Logs

To investigate bugs and understand its context, it is required to provide a log file. This logfile included messages not shown in the command line, but does not contain passwords. However, it should still be treated carefully, as it may reveal internal data of the SPP system.

Create the logfile

At the end of each SPPMon execution a message is posted, which contains a sample grep command with the corresponding PID. Please copy this command and execute it, writing the logs of only the latest execution into a new file.

To access the log within the docker container, please use dockers copy command to transfer the file into your file system:
cp container-id:/path/to/file_in_container /path/to/file-on_host

example:

 /usr/bin/python3 /home/sppmonusr/git/sppmon/python/sppmon.py --cfg=/home/sppmonusr/git/sppmon/python/dpr-sle-srv.json --sppcatalog
>> getting sppcatalog stats
Storing script metrics


!!! script completed !!!

check log for details: grep "PID 11667" /var/log/sppmon.dpr-sle-srv.log > sppmon.log.11667

Upload the logs

Please provide the logfile via Email (see contact us).

Clone this wiki locally