[cod] Logging Question.

Richard Harrison richardnharrison at btinternet.com
Tue Jun 8 07:50:42 EDT 2004


Thanks for that prompt answer.
 
I think i may not have made my self clear on question 2. I was not thinking about scripting this bit 'in-game' but when i started the server up. So it would be in the start up command that was executed in linux. I understand that i would still get one log file (even if it was prefixed with a date) until i restarted the server but i can look at some cron jobs to bounce it at a quite point of the day. 
 
Once again thanks for the answer to question 1

John Kennington <john.kennington at buzzcard.gatech.edu> wrote:

1:  Yes.  Send the set g_log "games_mp.log" via rcon and change the name to whatever you want.  

 

2:  It cannot be done automatically with the game engine.  The log file name is set in the server config file, so unless a script wizard knows how to rewrite the a config file that has the line set g_log "games_mp.log" and can change it to increment the date each day, and then reboot the server, it would not be possible.  You can, however, do as in #1.

 

John Kennington
Assistant Director - Operations
BuzzCard Center
Georgia Institute of Technology
350 Ferst Dr. NW
Houston Bookstore Mall
Atlanta, GA  30332
404-385-2961
678-283-3385 Cell
404-894-2049 FAX
http://www.buzzcard.gatech.edu/
BuzzCard FAQs:  http://www.buzzcard.gatech.edu/faqs/index.htm


---------------------------------


From: Richard Harrison [mailto:richardnharrison at btinternet.com] 
Sent: Tuesday, June 08, 2004 7:29 AM
To: cod at icculus.org
Subject: [cod] Logging Question.


 

Since there has been talk of logging i have been thinking and wondering if you can do the following.

1) Can you change the log file mid game or is it something that can only be set when the game server starts?

2) Does anyone know how i can configure the start up line to name the log file with a date instead of mpgame.log for example 20040608cod.log 

Thanks,

Richard


This message has been 'sanitized'. This means that potentially
dangerous content has been rewritten or removed. The following
log describes which actions were taken.

Sanitizer (start="1086694541"):
Forcing message to be multipart/mixed, to facilitate logging.
Writer (pos="1397"):
Part (pos="1445"):
Part (pos="200"):
SanitizeFile (filename="unnamed.txt", mimetype="text/plain"):
Match (rule="8"):
ScanFile (file="/var/spool/filter/anomy/att-40c5a48d-E0S-unnamed.txt"):
Scan succeeded, file is clean.

Enforced policy: accept

Part (pos="1625"):
SanitizeFile (filename="unnamed.html", mimetype="text/html"):
Match (rule="8"):
ScanFile (file="/var/spool/filter/anomy/att-40c5a48d-VKP-unnamed.html"):
Scan succeeded, file is clean.

Enforced policy: accept

Note: Styles and layers give attackers many tools to fool the
user and common browsers interpret Javascript code found
within style definitions. References:
- http://www.securityfocus.com/bid/630
- http://archives.indenial.com/hypermail/bugtraq/2001/January2001/0512.html
Rewrote HTML tag: >>_style_<<
as: >>_DEFANGED_style_<<
Rewrote HTML tag: >>_/style_<<
as: >>_/DEFANGED_style_<<
Rewrote HTML tag: >>_span style='font-size:10.0pt; font-family:Tahoma;font-weight:bold'_<<
as: >>_span DEFANGED_style="font-size:10.0pt; font-family:Tahoma;font-weight:bold"_<<
Rewrote HTML tag: >>_span style='font-weight:bold'_<<
as: >>_span DEFANGED_style="font-weight:bold"_<<
Rewrote HTML tag: >>_span style='font-weight:bold'_<<
as: >>_span DEFANGED_style="font-weight:bold"_<<
Rewrote HTML tag: >>_span style='font-weight:bold'_<<
as: >>_span DEFANGED_style="font-weight:bold"_<<
Rewrote HTML tag: >>_blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'_<<
as: >>_blockquote DEFANGED_style="margin-top:5.0pt;margin-bottom:5.0pt"_<<

Total modifications so far: 7


Anomy 0.0.0 : Sanitizer.pm
$Id: Sanitizer.pm,v 1.54 2002/02/15 16:59:07 bre Exp $
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20040608/ba173b0e/attachment.htm>


More information about the Cod mailing list