Moving to different paths.

This commit is contained in:
marcins78@gmail.com
2011-12-03 20:14:51 +00:00
parent f3b53e0fc0
commit 9065036f61
3 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ public class LoggingThreadLocal {
private static synchronized void initializeOutputStream() {
if (_fos == null) {
try {
_fos = new FileOutputStream(new File("I:\\dev\\longActions.txt"));
_fos = new FileOutputStream(new File("/etc/gemp-lotr/longActions.txt"));
} catch (IOException exp) {
throw new RuntimeException(exp);
}

View File

@@ -71,7 +71,7 @@ public class GameRecorder {
}
private File getRecordingFile(String playerId, String gameId) {
File gameReplayFolder = new File("i:\\gemp-lotr\\replay");
File gameReplayFolder = new File("/etc/gemp-lotr/replay");
File playerReplayFolder = new File(gameReplayFolder, playerId);
return new File(playerReplayFolder, gameId + ".xml");
}

View File

@@ -8,7 +8,7 @@
</layout>
</appender>
<appender name="R" class="org.apache.log4j.RollingFileAppender">
<param name="file" value="i:/dev/gemp-lotr.log"/>
<param name="file" value="logs/gemp-lotr.log"/>
<param name="MaxFileSize" value="10MB"/>
<param name="MaxBackupIndex" value="20"/>
<layout class="org.apache.log4j.PatternLayout">
@@ -16,7 +16,7 @@
</layout>
</appender>
<appender name="M" class="org.apache.log4j.RollingFileAppender">
<param name="file" value="i:/dev/modifiers.log"/>
<param name="file" value="logs/modifiers.log"/>
<param name="MaxFileSize" value="100MB"/>
<param name="MaxBackupIndex" value="20"/>
<layout class="org.apache.log4j.PatternLayout">