Bug#488330: freecol: Freecol puts log file in local dir

Dirk Van Hertem dirk.vanhertem at esat.kuleuven.be
Fri Jun 27 22:36:36 UTC 2008


Package: freecol
Version: 0.7.4.dfsg-1
Severity: minor

Hello,

Freecol puts a file named FreeCol.log in your current directory, which is not needed. I think it would be better if it were to be placed in ~/.FreeCol/ or so.

Two reasons exists why it is annoying: it is just not nice to have random files at random places, and if you put it in a mounted directory, the game can get incredibly slow to play as it writes/reads that file very often. At least, it was very slow when i played it over my sshfs connection.

I guess that the solution to this would be quite trivial to change, probably this file (from the debian source package):

> src/net/sf/freecol/common/logging/DefaultHandler.java
where the line
> private static final String fileName = new String("FreeCol.log");

Greetings,

Dirk

ps: Maybe (probably) it is not a debian thing, and I should have mentioned it upstream?

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages freecol depends on:
ii  java-wrappers                 0.1.5      wrappers for java executables
ii  libhiglayout-java             1.0-4      An easy-to-use layout manager for 
ii  libwoodstox-java              1:3.9.2-1  a high-performance XML processor
ii  sun-java6-jre                 6-06-1     Sun Java(TM) Runtime Environment (

freecol recommends no packages.

-- no debconf information

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm






More information about the Pkg-games-devel mailing list