URL:
<http://gna.org/patch/?1405>
Summary: index_server: ability to go to background and show
and hide debug messages
Project: Wormux
Submitted by: salfrancl
Submitted on: Monday 01/11/2010 at 00:38
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
hello guys
i want to submit this patches in order to make better the index server of
this wonderful game
the patches give to the index server the ability to:
- go to background if it is invoked with '-d' parameter
- show or hide the debug messages via 'verbose' configuration variable in
'wormux_index_server.conf'
it modify the files:
- tools/servers/index_server/wormux_index_server.conf
* add new variable of type 'boolean': 'verbose'; it defines if
'wormux-index_server' program will display debug messages
- lib/wormux-server/src/config.cpp
* add definition of 'Verbose' variable ir order to be able to control the
show/hide debug messages
* add code to intercept and process the definition of 'verbose'
configuration variable
- lib/wormux-server/include/WSERVER_config.h
* add reference to variable which control the show/hide debug messages
- lib/wormux-server/include/WSERVER_debug.h
* add new definition 'NONE' in order to be able to turn off debug
messages completely
* modify code to handle the output of debug messages
- tools/servers/index_server/main.cpp
* add code to fork the application in order to be able to act as daemon
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 01/11/2010 at 00:38 Name: wormux_index_server.diff Size: 2kB
By: salfrancl
<http://gna.org/patch/download.php?file_id=7655>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1405>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna