Warning !! The programing of this new project is often modified, it's possible that's this sample don't work with the last version of SVN.color red
The configuration file allow to define some paraameters of TuxDroidServer. That file is named config.txt and contain (by default):
SERVER_PORT=9595
USER_KEY=test
LOG_LEVEL=0
SERVER_PORT - Set on what port number the server listen client connection
USER_KEY - Allow to define an identification key to
Define an identification key so that only people with the knowledge to connect to your server. (See also [Tux_Key_(en)]).
LOG_LEVEL - Corresponds to the levels of the logs from 0 to 2 that corresponds to:
TUX_LOG_INFO /* 0 */
TUX_LOG_ERROR /* 1 */
TUX_LOG_DEBUG /* 2 */
DEBUG - That level is for debug it's write many something in the logfile
ERROR - Write error & informations in the logfile
INFOS - Write only informational message in the logfile
The minimum level recommanded is TUX_LOG_ERROR so that any errors be logged which is very useful in case of problems.
More informations about the log file: [TuxDroidServer.log_(en)]