FHS compliance - BREAKING COMMIT

This commit is contained in:
Rick Falkvinge
2014-09-11 12:51:51 +02:00
parent 72bc3a69eb
commit 3c9a921631
12 changed files with 44 additions and 154 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ namespace Swarmops.Utility.BotCode
{
DateTime now = DateTime.Now;
string logFileName = "logs" + System.IO.Path.DirectorySeparatorChar + "botlog-" +
string logFileName = "/var/log/swarmops/backend-log-" +
now.ToString("yyyy-MM-dd-HH") + ".log";
using (StreamWriter writer = new StreamWriter(logFileName, true, Encoding.GetEncoding(1252)))