Moving to different paths.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user