Newcs logi vaatamine lives?
Postitatud: 18:13, 12 Aug 2009
Kes avitab, ei mäleta enam, kuidas sai newcs-i logi lives näha ja millised peaks newcs cfg olema, et logi vaadata jooksvalt?
Tänud ette
Tänud ette
Võimalusi on mitmeid: otse konsoolile, logifaili, tcp, saata udp kaudu logiserverisse, seadistada http juurdepääs ja sealtkaudu vaadata...spiiker kirjutas:Kes avitab, ei mäleta enam, kuidas sai newcs-i logi lives näha ja millised peaks newcs cfg olema, et logi vaadata jooksvalt?
Seejärel:newcs.xml kirjutas: <debug>
<!-- valid value for password:
Max 25 characters and minimum 8, this is case-sensitive. -->
<password>LIGIPÄÄSU_PAROOL</password>
<!-- valid value for mode:
simple, advanced - Set TCP-Console to advanced mode to get access to
potentially dangerous features.-->
<mode>advanced</mode>
<!-- valid value for level are:
normal, verbose, spam - How extensive debug should be. -->
<level>normal</level>
<!-- valid value for type are:
Init, general, ecm, emm, net, all - Section of debug that should be displayed. -->
<type>init</type>
<!-- valid value for output are:
Console, udp, tcp, file, all - Where to show debug. -->
<output>tcp</output>
<!-- console_options are so you can set own loglevel/type for console-logger:
Should hold level and type-tags like above. -->
<console_options>normal,init</console_options>
<!-- valid value for logfile are:
Path and filename - Where to write debug logs if file or all is chosed in output. -->
<logfile>/tmp/newcs.log</logfile>
<!-- file_options are so you can set own loglevel/type for file-logger:
Should hold level and type-tags like above. -->
<file_options>spam,all</file_options>
<!-- valid value for udp_host are:
IP-address or DNS-name - Where to send debug if udp or all is chosed in output. -->
<udp_host>192.168.1.10</udp_host>
<!-- valid value for udp_port are:
0,65535 - Which port to send the udp packets. -->
<udp_port>1000</udp_port>
<!-- udp_options are so you can set own loglevel/type for udp-logger:
Should hold level and type-tags like above. -->
<udp_options>normal,init</udp_options>
<!-- valid value for tcp_port are:
0,65535 - Which port to listen for incomming tcp connections. -->
<tcp_port>12345</tcp_port>
<!-- tcp_options are so you can set own loglevel/type for tcp-logger:
Should hold level and type-tags like above. -->
<tcp_options>normal,init</tcp_options>
</debug>
(xxx.xxx.xxx.xxx on serveri IP-aadress)telnet xxx.xxx.xxx.xxx 12345