Use proper log dir for fetching log files. Fixes 252283.
Patch Attached.
Please Review.
Thanks,
Johnny
Index: src/server/Simias.Server/ReportLogHandler.ashx.cs
===================================================================
--- src/server/Simias.Server/ReportLogHandler.ashx.cs (revision 6790)
+++ src/server/Simias.Server/ReportLogHandler.ashx.cs (working copy)
@@ -240,7 +240,8 @@
case ".log":
// Full path to the log
file.
- string logFilePath =
Path.Combine( SimiasSetup.simiaslogdir, fileName );
+ string logDir =
Path.Combine ( Store.StorePath, "log");
+ string logFilePath =
Path.Combine( logDir, fileName );
byte[] logData = null;
// See if there is a
string that is asking for the length of the file.
Index: src/server/Simias.Server/ChangeLog
===================================================================
--- src/server/Simias.Server/ChangeLog (revision 6786)
+++ src/server/Simias.Server/ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2007-04-03 Johnny Jacob <[EMAIL PROTECTED]>
+
+ * ReportLogHandler.ashx.cs : Read logfile from datadir and not
+ from the default one. Fixes 252283.
+
2007-03-16 Johnny Jacob <[EMAIL PROTECTED]>
* catalog.cs (ProcessEvents) : Wait till catalog collection is
_______________________________________________
ifolder-dev mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/ifolder-dev