HammerWorld wants to log, how?
-
- Sergeant
- Posts: 831
- Joined: Thu Jul 14, 2005 1:29 am
HammerWorld wants to log, how?
I want to have a logging system for my server, how do I do it?
That is, a logging system that'll write everything to a file
That is, a logging system that'll write everything to a file
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
I would try the MasterBot plugin:
http://my.bzflag.org/bb/viewtopic.php?p=59906#59906
Then to read them, go here, and upload the log:
http://www.garrettsites.net/php-bin/logconverter.php
There are other ways to log, but when I was on IM with you, you said it didn't work. I would give MB a try.
http://my.bzflag.org/bb/viewtopic.php?p=59906#59906
Then to read them, go here, and upload the log:
http://www.garrettsites.net/php-bin/logconverter.php
There are other ways to log, but when I was on IM with you, you said it didn't work. I would give MB a try.
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
-
- Private First Class
- Posts: 330
- Joined: Tue Feb 08, 2005 6:06 pm
- Location: Lancaster, PA
- Contact:
Are you on Linux, MAC or Windows?
If Linux, (and maybe MAC too) I use:
The >> business sends all of the information that would normally flash across your screen to a file instead. There is also the "tee" command, which I intend to explore a bit further. I'm thinking that it allows you to see the output of the server, and write to a file simultaneously. Never used it yet. Don't forget to use the -ddd argument. It seems to get all the conversation that I need to see without telling me every tank's move like -dddd does.
Perhaps you can do this in windows? Does the DOS shell have pipelines?
If Linux, (and maybe MAC too) I use:
Code: Select all
$ bzfs -ddd -conf /path/to/conf/file >> /path/to/log/file
Perhaps you can do this in windows? Does the DOS shell have pipelines?
- The Knights Who Say Ni
- Private First Class
- Posts: 556
- Joined: Mon Sep 26, 2005 7:21 pm
- Location: Uplyme, England
- Contact:
i would definaltly use the masterbot plugin the only problem is it doesnt log flags and there is an on-line analyzer to make your log more legiable
http://www.garrettsites.net/php-bin/logconverter.php
http://www.garrettsites.net/php-bin/logconverter.php
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
He (AlliedArmour) is on Windows 98.Longhair wrote:Are you on Linux, MAC or Windows?
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
-
- Sergeant
- Posts: 831
- Joined: Thu Jul 14, 2005 1:29 am
- The Knights Who Say Ni
- Private First Class
- Posts: 556
- Joined: Mon Sep 26, 2005 7:21 pm
- Location: Uplyme, England
- Contact:
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom
-
- Sergeant
- Posts: 831
- Joined: Thu Jul 14, 2005 1:29 am
- The Knights Who Say Ni
- Private First Class
- Posts: 556
- Joined: Mon Sep 26, 2005 7:21 pm
- Location: Uplyme, England
- Contact:
-
- Sergeant
- Posts: 831
- Joined: Thu Jul 14, 2005 1:29 am