Create Enigma2 log file: Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
Zeile 42: Zeile 42:
 
init 5
 
init 5
 
</syntaxhighlight>
 
</syntaxhighlight>
=== Protokollierung starten ===
+
=== Start logging ===
Wartet im Minimum 10 Sekunden (damit sich Enimga2 sauber beenden kann) und gebt den folgenden Befehl ein, um die Protokollierung zu starten.
+
Wait minimum 10 seconds (this way Enimga2 can be stopped completely) and enter the following command to start the logging.
 
<syntaxhighlight>
 
<syntaxhighlight>
 
enigma2.sh > ~/debug.log 2>&1
 
enigma2.sh > ~/debug.log 2>&1
 
</syntaxhighlight>
 
</syntaxhighlight>
Die Datei mit dem Namen <code>debug.log</code> wird jetzt im Verzeichnis <code>/home/root</code> angelegt. Solange Enigma2 aktiv ist, werden die [http://de.wikipedia.org/wiki/Debugger Debug] Information in die Datei geschrieben.
+
The file with name <code>debug.log</code> is stored in the directory <code>/home/root</code>. As long as Enigma2 is active, the [http://en.wikipedia.org/wiki/Debugger Debug] information is written in the file.
  
 
=== Protokollierung stoppen ===
 
=== Protokollierung stoppen ===

Version vom 3. Februar 2014, 21:37 Uhr

Deutsch.png - in Deutsch English.png - in English
Start of Enigma2

This article explains how to create a log Enigma2 log file. The log file is useful for developpers, to solve problems with plugins or skins.

Create Enigma2 log file

Connect via Telnet or SSH with the Dreambox. Execute the following commands to see the Debug info from Enigma2.

Start Logging

Open the terminal via Telnet or SSH and enter the following commands:

init 5 && sleep 15 && enigma2.sh

In this case, 3 commands are executed consecutively.

  • init 5 ➤ stops Enigma2.
  • sleep 15 ➤ waits for 15 seconds, before executing the next commands.
  • enigma2.sh ➤ starts Enigma2.

As soon as Enigma2 is started, the Debug info is shown in the terminal.

Stop Logging

The logging can be stopped at any time with the key combination Ctrl + c.

Submit the logging

The logging can be copied en saved in a text file (e.g. debug.log). Afterwards you can post the in a thread.

Start Enigma2

Now you can start Enigma2, if it is still possible, with the command:

init 3

Enigma2 logging in a text file

It's also possible to write the logging in a file directly. The file can be posted in a thread if the developper asks for more info.

Connect via Telnet or SSH with the Dreambox. Execute the following command:

init 5

Start logging

Wait minimum 10 seconds (this way Enimga2 can be stopped completely) and enter the following command to start the logging.

enigma2.sh > ~/debug.log 2>&1

The file with name debug.log is stored in the directory /home/root. As long as Enigma2 is active, the Debug information is written in the file.

Protokollierung stoppen

Die Ausgabe könnt ihr mit der Tastenkombination Ctrl + c stoppen.

Enigma2 starten

Startet nun Enigma2 mit folgendem Befehl:

init 3

Sofern dies je nach Fehlerfall noch möglich ist.

Log Datei veröffentlichen

Die Log Datei (debug.log) von Enigma2 befindet sich nach obigem Beispiel im Verzeichnis /home/root. Kopiert die Datei via FTP auf euren Rechner und hängt sie anschliessend im entsprechenden Thema an.