My goodness.. I've got quite a few questions backed up at the moment due to being away in Auz there for the webdu2006 conference and then just a major influx in work.. but just want to get this first one out there before I get to some others.
So here's the Q: What logging options are available via Flash Media Server 2?
Well, what a nice new can of worms we have open here.
The answer: With FMS2 we can now log to standard format log files. In fact they have now broken out of the FLV format that you had to use a Flash SWF file to view for FCS1.5, to a txt file format that can be opened in any text editor and log analyzer.
The logging options are many and varied and to be honest, straight out of the box, FMS2 has pretty much most of what you need to be logged setup already.
But the question remains of what options an administrator has.
Well, to start off, how about a quick link to the livedocs just in case you want more info than what I will be putting here.
Now, there are quite a few types of log files and they are, by default, all sitting in the logs directory in the install directory. This can be fine for smaller sites that have the logs files written over often and they don't get big at all, but larger sites and setups with larger log files should move this off to a different drive than C (which is the default install drive if you have installed it there, talking about Windows in this case).
To change that up, just wander into the FMS.ini file and go to the bottom and you'll see a setting to set where you want log files to be created. Make sure to reset the server though for the changes to take place.
So, now we have some different types of log files:
access - Used to log access (client connections) to the server and stream activity, the setting for this file can be found in the logger.xml file in the conf directory up top in the access tag
application - logs info on what's happening in application instances, good for debugging actually
admin - Keeps track of the administration and logs messages here about errors etc with the server
core - more error logging here and stuff that is going on with the server
edge - logs about the server if it is an edge server
master - logs about the server if it is a master server (for an edge)
To a developer/administrator of the server, I'd have to say the application and access log files are the most interesting.
That's a bit of background on what is happening behind the scenes with logging, there are tons of things that can be changed for the access logs, and that full list can be seen in the logger.xml file or even online for descriptions (no use me just copying and pasting it all here) in the livedocs, here's the link just in case.
Hope this helps a bit :)
First off, and more about this below, my presentation on Flash Media Server 2.0 Tricks and Tips, and example files will be up soon! Give me a day or two to settle down here and I'll have lots of info up.
I've just made it back yesterday afternoon from webdu2006 in Australia, and to start off I'd like to say it was a blast!! I haven't had much time to do anything other than go through my email and respond to emergency projects and support. I was stupid enough to forget my power supply for my laptop meaning that I had a very limited amount of juice to get me through the 8 days that I was there. Meaning that the lappy was used for emergencies, presentation and then very minimal email.
So, anyways I'm back now and want to quickly note that my preso and the examples that I showed will be available pretty quick. I also video taped the whole session and will be posting that when I get some time to capture it all to my computer, edit it up, get it with cue points and captions and up onto the server. It should be pretty much like my other presos (see the side bar on the main page of this blog) with synced slides and stuff.
webdu2006 was awesome again. I'm proud to say that we'll be getting another voice of the people up again to show what people are saying about the conference and the new technology racing around the internet. Especially flex and flex builder 2 actually, it most definitely stole the show this year.
Lots of great presos going on, and of course the activities on the side were a-hell-of-a-lot of fun. Starting with the story making (last year was a sort of treasure hunt thingy..) with pics and spoofs on old fairy tale stories and ending with some truly cool Brazilian dancing (got video of that too). Hopefully Geoff will get a couple of those stories up on the webdu site to show others that couldn't make it how funny it was.
Last but by far not least, a huge thanks and congrats to the Daemon team for again putting together a truly cool conference. I hope I can make it next year..