[00:19] Thumper_: my servers pipe their logs directly to the remote webserver [00:19] Thumper_: so my website gets live log feeds on all the servers (currently 48 I think) [00:19] Tropican8: wow [00:19] Thumper_: from 3 bzflag server hosts [00:19] Tropican8: how much hdd space does that take up? [00:19] Thumper_: not much [00:20] Thumper_: my entire webserver is in 10G and half of that is free [00:20] Tropican8: wow [00:21] Thumper_: all the logs I've ever collected is a total of [00:21] Thumper_: 184M bzflag.bz.norang.ca/logs [00:21] Thumper_: 79M bzflag.bzflag2.norang.ca/logs [00:21] Thumper_: 15M bzflag.bzflag3.norang.ca/logs [00:21] Thumper_: 276M total [00:21] Thumper_: they're currently just flat text files and gzipped [00:21] Thumper_: the website reads those directly [00:21] Thumper_: logs are closed and zipped at the end of the day UTC [00:21] Tropican8: have you actually viewed the logs for any reason? [00:22] Thumper_: all the time [00:22] Thumper_: the webserver has access to them all [00:22] Tropican8: I used to log but realized I never really needed to access them. [00:23] Thumper_: want to see it? [00:24] Tropican8: uh, ok [00:24] Thumper_: (Link: http://bzflag.bzflag2.norang.ca/)http://bzflag.bzflag2.norang.ca/ [00:25] Thumper_: top right is a [Administrator Access] link [00:25] Thumper_: hit that and enter Tropican8/trop for user/pwd [00:26] Thumper_: that's just the servers on the mofo host [00:26] Thumper_: the player list is live [00:26] Tropican8: no chat logging? [00:26] Thumper_: sure there is [00:26] Thumper_: see the active server? [00:26] Thumper_: 4418 [00:26] Thumper_: hit the Logs link [00:27] Thumper_: then Search [00:27] Thumper_: all the output is straight from the logDetail plugin [00:27] Tropican8: oh wow [00:27] Tropican8: msgs shows private messages? [00:27] Thumper_: you can go to any day you want with the 2006/2007 links [00:28] Thumper_: yes [00:28] Thumper_: everything [00:28] Thumper_: (from a chat perspective) [00:28] Thumper_: same thing debug mode does [00:28] Thumper_: also there is a language filter in place [00:28] Tropican8: only formatted nicer ;-) [00:28] Thumper_: the website gets unfiltered chat [00:28] Thumper_: the debug output is ambiguous [00:28] Thumper_: so I wrote hte logDetail plugin to make it easy to parse [00:29] Thumper_: the website is a little icky but it's better than nothing [00:29] Thumper_: also if you reload it's live [00:29] Thumper_: you can restrict the display of time by hours too so the reload is faster [00:29] Thumper_: I'll join... [00:29] Thumper_: ok i'm there [00:30] Thumper_: if you hit the Home link I show up as an admin [00:30] Thumper_: on the summary page with players [00:30] Tropican8: heh [00:30] Tropican8: I do have to say, this is far from icky [00:31] Thumper_: the summary page also has the last chat time on each server [00:31] Thumper_: so you can review servers chat fairly efficiently [00:31] Thumper_: the website code doesn't scale well at all [00:31] Thumper_: it started as just my cable modem and it kind of exploded into multiple hosts and it was never designed for that [00:32] Thumper_: also there's a Players link at the top that searches all of my server logs (from all servers/ all hosts) [00:32] Thumper_: so if you put in 'Tropican8' it'll show all of your connections, (ever) :) [00:33] Thumper_: it's not lightning fast but it works [00:33] Thumper_: has no database behind it just flat text files so far [00:33] Tropican8: has delusion seen this? [00:34] Thumper_: yeas [00:34] Thumper_: he has access to it [00:34] Thumper_: youcan also start/stop servers form the summary page [00:34] Thumper_: try it [00:34] Thumper_: go turn off the mad city server on 4400 [00:34] Tropican8: I'd rather not :-\ [00:34] Thumper_: ok :) [00:35] Thumper_: it just connects to teh server, kills the shell server loop and tells the server to exit [00:35] Thumper_: which it won't do if there are players on [00:35] Thumper_: there's a 'Restart Pending' on the fox burrow map [00:35] Thumper_: I updated the bzfs server code and plugins today and queued a reset [00:35] Thumper_: but I'm not going to wait around for them to finish playing [00:35] Thumper_: it'll just exit and restart when they're done (when I'm asleep) [00:36] Tropican8: wow - that's polish [00:36] Thumper_: That was very useful for LaserMania back when it was busy [00:36] Tropican8: MoFo could've used this when we were making changes to it [00:36] Thumper_: I don't care if you stop and start 4400 if you just want ot play with it [00:37] Thumper_: you have that ability now with the serverControl plugin [00:37] Thumper_: all you need is a loop that runs the server [00:37] Thumper_: I don't use screen for running servers (that's icky) [00:38] Tropican8: well, I didn't think it was -- until today [00:38] Thumper_: I just run a shell loop and pipe the server output somewhere (off the machine, or to a file , or to a script that logs and rotates files) [00:38] Thumper_: now = as of an hour ago [00:39] Tropican8: lol [00:39] Thumper_: but the serverControl plugin has been around with hardcoded banfile paths and hardcoded reset filenames [00:39] Thumper_: for awhile [00:39] Thumper_: I use 2 files [00:39] Thumper_: reset-server-once and reset-server-always [00:39] Thumper_: if you create reset-server-once the serverControl plugin will kill the server if no players are on [00:39] Thumper_: then the server loop just starts it up again [00:39] Thumper_: (the file is removed by the plugin when it shuts down) [00:40] Thumper_: so all I do to restart a server is ' cd ~/server/ && touch reset-server-once' [00:40] Thumper_: and that's in a script for me called 'restart' [00:40] Thumper_: i also have a 'restart-all-servers' [00:40] Thumper_: which does that in all server dirs on the host [00:41] Thumper_: inactive servers restart immediately [00:41] Thumper_: others wait for players to leave first [00:41] *** SportChick has signed off IRC (Read error: 104 (Connection reset by peer)). [00:42] Thumper_: also you can ban from the website - it's too easy - it's almost fun [00:42] Thumper_: :-P [00:42] Tropican8: Hmm, fun and ban shouldn't be used in the same sentence. [00:42] Thumper_: yeah I know [00:42] Thumper_: try it [00:42] Thumper_: (if you're not busy) [00:42] Tropican8: :-\ [00:42] Thumper_: server summary p age, 4418, go to logs [00:43] Thumper_: find me (just joined) [00:43] Thumper_: hit [Ban] on the player join log line [00:43] Thumper_: and enter something for a reason and duration [00:43] Thumper_: you should have shortban perms only (max 5 hrs) on the page [00:43] Thumper_: it changes based on priv level on the website [00:43] Thumper_: it'll kick me off the server when the bans reload but I have anti ban so I can join again [00:43] Thumper_: feel free to try it [00:44] Thumper_: I don't have unban from the website available yet bu tthat woudl be easy to do [00:44] Tropican8: yeah, it only goes up to 5 [00:45] Thumper_: if I change your auth level it'll add days and permanent [00:45] Thumper_: as optinos [00:45] Thumper_: but it's currently a manual configuratino [00:45] Thumper_: next iteration it'll use the bzbb global auth perms [00:45] Thumper_: and groups [00:45] Tropican8: that'll be awesome [00:45] Tropican8: I'm really impressed by this [00:46] Thumper_: well it's my first website.. and it kind of evolved over 2 years [00:46] Thumper_: it's all cgi and python [00:46] Thumper_: no sessions [00:46] Thumper_: I want to rewrite it in Ruby on Rails if I get time [00:46] Tropican8: wow, I just pulled up every callsign you have every used [00:46] Thumper_: heh [00:46] Tropican8: that's fun [00:46] Thumper_: I did that for you earlier ;) [00:46] Tropican8: xxx? [00:47] Thumper_: I was lazy [00:47] Thumper_: bzadmin xxx@host:port [00:47] Thumper_: I'm still connected - guess you didn't ban me [00:47] Tropican8: hmm [00:47] Tropican8: I only did it for 5 minutes -- I thought [00:47] Thumper_: last ban on that host was by donny baker [00:48] *** donny_baker has signed off IRC (Read error: 60 (Operation timed out)). [00:48] Tropican8: I hope I didn't ban someone else :-0 [00:48] Thumper_: there's a recent reports/recent bans list on the summary page [00:48] Thumper_: don't thiink you did it [00:48] Tropican8: oh ok, I didn't do anything [00:48] Thumper_: you have to hit the ban button [00:49] Thumper_: then it gets logged on the summary page under recent bans [00:49] Thumper_: (not that it matters) [00:49] Thumper_: feel free to put 'test ban' or something in the text for me [00:49] Thumper_: so donny_baker doesn't worry ;) [00:49] Tropican8: Oh, I didn't put in a reason, that's why it didn't work [00:49] Thumper_: boink [00:49] Thumper_: I'm outa there [00:50] Tropican8: I just put "test" in, hope that's good enough for him. [00:50] Thumper_: that'll be fine [00:50] Thumper_: you're #34 on the recent bans page [00:50] Thumper_: but with antiban I can just rejoin [00:51] Tropican8: heh. If you ever want to redesign the website, I'd recommend putting the newest bans at the top. [00:51] Thumper_: ok [00:51] Thumper_: it only shows the past 3 days worth [00:51] Thumper_: tomorrow the bans from the 23rd will be gone [00:52] Thumper_: (top 2 lines) [00:52] Thumper_: same for reports [00:52] Thumper_: reports are easier to read in order [00:52] Thumper_: in case they are multiple lines [00:52] Thumper_: anyway that's what I use for server monitoring [00:52] Thumper_: it works pretty well [00:53] Thumper_: and I've got something like 60 admins with access to it [00:53] Thumper_: (not that they all use it) [00:53] Thumper_: people connect, see no admin, proceed to violate the language rules, get caught later after they left, get a 1d ban - applies to all my servers [00:54] Thumper_: they learn fast [00:54] Thumper_: or they don't play on servers I run anymore [00:54] Thumper_: I found that to be very effective - compared to warning/kicking etc [00:54] Tropican8: This makes the p-m.com admin panel look like it's from the stoneage. And you've been using this for a while? [00:54] Thumper_: 2 hrs-ish [00:54] Thumper_: yrs* [00:54] Thumper_: :) [00:55] Thumper_: minor typo there [00:55] Thumper_: all server logs are online [00:55] Thumper_: oldest willbe from the olympic map on [00:55] Thumper_: bzflag.norang.ca:5154 [00:55] Thumper_: [bzflag] linkn at top of the summary page [00:56] Thumper_: 5154 isn't active anymore so it's not ont he list [00:56] Thumper_: but they still exist [00:56] Tropican8: heh [00:56] Thumper_: bzfs-2005-01-08T00:00:00Z.log.gz [00:57] Thumper_: that would be when I started hosting the olympic map myself [00:57] Thumper_: and i built the website starting back then - it was log access only in the beginning but still useful [00:58] Thumper_: the log access code is all of 439 lines of python [00:58] Thumper_: that's page rendering, file parsing, everything you see ont he multicolored log page [01:00] Thumper_: anyway... i was going to bed... :) [01:00] Thumper_: eek an hour ago [01:00] Thumper_: 1AM [01:00] Thumper_: :/ [01:00] Thumper_: donny gets up in 3 hours... (eww!) [01:00] Tropican8: yeah, I'll be heading off soon too [01:01] Thumper_: ok I'm going to pull your access from the site when I quit - you done looking at it for now? [01:01] Thumper_: (sorry I don't have a read-only guest mode yet) [01:01] Tropican8: yeah [01:01] Tropican8: thx for the preview [01:01] Thumper_: ok you're toast ;) [01:01] Thumper_: shouldn't work anymore [01:02] Thumper_: I'll upgrade the other two servers tomorrow [01:03] Thumper_: er today [01:03] Thumper_: but later [01:03] Thumper_: let me know if you notice any problems with the new server code/plugins [01:03] Thumper_: cya [01:03] Tropican8: laters [01:05] Thumper_: heh [01:05] Thumper_: someone reacted to your ban [01:05] Thumper_: 352007-02-26T05:52:35Z4418NetRunnermsg Thumper Just out of curiosity, what prompted the ban list update? I didn't see any associated player drop... [01:05] Tropican8: heh [01:05] Thumper_: the serverControl plugin is configured to say 'Ban list updated' when it reloads [01:06] Tropican8: on the admin channel or to everyone? [01:06] Thumper_: everyone [01:06] Thumper_: 2007-02-26T05:49:32ZTropican8COMMANDban 74.119.210.211 5 (Thumper) Test [01:06] Thumper_: 2007-02-26T05:49:33ZSERVERALLBan list updated [01:06] Thumper_: 2007-02-26T05:49:33ZThumper#1 removedBZid:896 /ban [01:07] Thumper_: first line is website creating the log entry [01:07] Thumper_: 2nd line (1s later) is the server dropping me [01:07] Thumper_: and hosts are report [01:07] Thumper_: bah [01:07] Thumper_: s/report/remote/ [01:07] Thumper_: webserver is on my cable modem in Toronto, bzflag server is the mofo server [01:07] Thumper_: at xlhost [01:08] Thumper_: I thought about making the ban message configurabel for which channel to send to but didn't follow through on that since [01:08] Thumper_: nobody needs it (yet) [01:08] Thumper_: you can configure the message - blank is no message [01:09] Tropican8: oh, ok [01:09] Tropican8: well, I don't want to keep you up [01:09] Thumper_: heh thx [01:09] Thumper_: ok i'm really going now.. (I hope) [01:10] Thumper_: cya later [01:10] Tropican8: cya [01:25] *** H0ley has joined ##pm-private. [01:25] *** Mode change "+v H0ley" for channel ##pm-private by ChanServ. Session Close (##pm-private): Mon Feb 26 01:36:24 2007