From: Erik V. <eri...@hc...> - 2007-01-15 23:11:15
|
> I think we don't really need more than one log file just yet. > > I definitely don't want to clutter up a user's drive unnecessarily. > > It looks like we should use the FileAppender. OK, I have reduced the log4j options in my.properties to just a simple log file that is overwritten for each new game. I have removed the ConsoleAppender. I have also removed the prefix log/ to the log file name to avoid errors if there is no log directory. My own version of my.properties is now named my_my.properties. It is invoked by specifying -Dconfigfile=my_my.properties on the command line (in Eclipse by adding this option as a "VM argument"). GameTest picks up this argument. If absent, the default name my.properties is used. Only my.properties will exist in CVS. So, if you want to save my original version (or your own version) of this file, please rename it before you synchronise! Erik. |