Difference between revisions of "Activate Logging"
Cyrulution (talk | contribs) |
|||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == Usage == | |
+ | If you encounter errors that crash TV-Browser the log files can potentially provide useful error information to the developers. | ||
− | + | == Activation == | |
+ | Logging must be activated by modifying a configuration file. Logging cannot be activated in the [[Settings]]. | ||
− | + | In TV-Browsers Program Install directory one of the following files (depending on the OS) exists: | |
+ | ''windows.properties'', ''linux.properties'' or ''osx.properties''. | ||
− | + | Open the file for the respective OS (''Windows'' = ''windows.properties'' usw.) and modify the section "''# The folder for logging''". Remove the "#" in front of the path #logdirectory=... . Modify the path if required. Always use "/" instead of "\" (regardless of OS). "#" marks the start of a comment - any subsequent characters on the same line will be ignored. | |
− | + | The transportable version has no ''*.properties'' files. You need to add the #logdirectory=... line in the fiole ''settings.prop'' . ''settings.prop'' is located in ''./settings/<VERSION>/'' in the TV-Browser (transportable) directory. | |
− | logdirectory= | ||
− | + | ==Some Samples== | |
− | logdirectory= | + | ===Windows=== |
+ | logdirectory=C:/ | ||
− | + | or | |
+ | |||
+ | logdirectory=${user.home}/TV-Browser | ||
+ | |||
+ | ===Linux=== | ||
+ | logdirectory=/home/bodum/ | ||
+ | |||
+ | Once activated the log file ''tvbrowser.log'' will be created in the specified directory. This file will be overwritten on every start. | ||
+ | |||
+ | |||
+ | == Deactivation == | ||
+ | To ''deactivate'' logging the respective line must be commented out by prepending "#" . | ||
+ | |||
+ | |||
+ | [[category:Usage]] |
Latest revision as of 23:16, 2 April 2008
Usage
If you encounter errors that crash TV-Browser the log files can potentially provide useful error information to the developers.
Activation
Logging must be activated by modifying a configuration file. Logging cannot be activated in the Settings.
In TV-Browsers Program Install directory one of the following files (depending on the OS) exists: windows.properties, linux.properties or osx.properties.
Open the file for the respective OS (Windows = windows.properties usw.) and modify the section "# The folder for logging". Remove the "#" in front of the path #logdirectory=... . Modify the path if required. Always use "/" instead of "\" (regardless of OS). "#" marks the start of a comment - any subsequent characters on the same line will be ignored.
The transportable version has no *.properties files. You need to add the #logdirectory=... line in the fiole settings.prop . settings.prop is located in ./settings/<VERSION>/ in the TV-Browser (transportable) directory.
Some Samples
Windows
logdirectory=C:/
or
logdirectory=${user.home}/TV-Browser
Linux
logdirectory=/home/bodum/
Once activated the log file tvbrowser.log will be created in the specified directory. This file will be overwritten on every start.
Deactivation
To deactivate logging the respective line must be commented out by prepending "#" .