Create Enigma2 log file: Unterschied zwischen den Versionen
Mfgeg (Diskussion | Beiträge) |
|||
(12 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 3: | Zeile 3: | ||
|[[Bild:english.png]] - [[Create Enigma2 log file|in English]] | |[[Bild:english.png]] - [[Create Enigma2 log file|in English]] | ||
|} | |} | ||
+ | {{Hinweis|Please use the following article [[systemd]] for Images ≥ [[OE 2.2 (en)|OE 2.2]].}} | ||
[[Bild:Enigma2 protokollieren.png|thumb|400px|Start of Enigma2 ]] | [[Bild:Enigma2 protokollieren.png|thumb|400px|Start of Enigma2 ]] | ||
− | This article explains how to create a log [[Enigma2 (en)|Enigma2]] log file. The log file is useful for | + | This article explains how to create a log [[Enigma2 (en)|Enigma2]] log file. The log file is useful for developers, to solve problems with plugins or skins. |
− | ==Enigma2 | + | ==Create Enigma2 log file == |
− | + | Connect via [[telnet (en)|Telnet]] or [[SSH (en)|SSH]] with the Dreambox. Execute the following commands to see the [http://en.wikipedia.org/wiki/Debugger Debug] info from Enigma2. | |
− | === | + | === Start Logging === |
− | + | Open the terminal via [[telnet (en)|Telnet]] or [[SSH (en)|SSH]] and enter the following commands: | |
<syntaxhighlight> | <syntaxhighlight> | ||
init 5 && sleep 15 && enigma2.sh | init 5 && sleep 15 && enigma2.sh | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | In this case, 3 commands are executed consecutively. | |
− | * <code>init 5</code> ➤ | + | * <code>init 5</code> ➤ stops Enigma2. |
− | * <code>sleep 15</code> ➤ | + | * <code>sleep 15</code> ➤ waits for 15 seconds, before executing the next commands. |
− | * <code>enigma2.sh</code> ➤ | + | * <code>enigma2.sh</code> ➤ starts Enigma2. |
− | + | As soon as Enigma2 is started, the [http://en.wikipedia.org/wiki/Debugger Debug] info is shown in the terminal. | |
− | === | + | === Stop Logging === |
− | + | The logging can be stopped at any time with the key combination {{Taste|[http://en.wikipedia.org/wiki/Control_key Ctrl]}} + {{Taste|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. | |
− | === Enigma2 | + | === Start Enigma2 === |
− | + | Now you can start Enigma2, if it is still possible, with the command: | |
<syntaxhighlight> | <syntaxhighlight> | ||
init 3 | init 3 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | == Enigma2 | + | == 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 (en)|Telnet]] or [[SSH (en)|SSH]] with the Dreambox. Execute the following command: | |
<syntaxhighlight> | <syntaxhighlight> | ||
init 5 | init 5 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | === Start logging === |
− | + | 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> | ||
− | + | 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. | |
− | === | + | === Stop Logging === |
− | + | The logging can be stopped at any time with the key combination {{Taste|[http://en.wikipedia.org/wiki/Control_key Ctrl]}} + {{Taste|c}}. | |
− | === Enigma2 | + | === Start Enigma2 === |
− | + | Now you can start Enigma2, if it is still possible, with the command: | |
<syntaxhighlight> | <syntaxhighlight> | ||
init 3 | init 3 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | === | + | === Post the log file === |
− | + | In case of this example, the log file (<code>debug.log</code>) of Enigma2 can be found in the directory <code>/home/root</code>. Copy the file with [[FTP (en)|FTP]] onto your computer and post the file in the thread. | |
− | [[Kategorie: | + | [[Kategorie:Instructions (en)]] |
− | [[Kategorie:Enigma2]] | + | [[Kategorie:Enigma2 (en)]] |
Aktuelle Version vom 10. August 2017, 19:10 Uhr
- in Deutsch | - in English |
Please use the following article systemd for Images ≥ OE 2.2. |
This article explains how to create a log Enigma2 log file. The log file is useful for developers, to solve problems with plugins or skins.
Inhaltsverzeichnis
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.
Stop Logging
The logging can be stopped at any time with the key combination Ctrl + c.
Start Enigma2
Now you can start Enigma2, if it is still possible, with the command:
init 3
Post the log file
In case of this example, the log file (debug.log
) of Enigma2 can be found in the directory /home/root
. Copy the file with FTP onto your computer and post the file in the thread.