Revision: 3612
http://vexi.svn.sourceforge.net/vexi/?rev=3612&view=rev
Author: mkpg2
Date: 2009-08-20 15:16:35 +0000 (Thu, 20 Aug 2009)
Log Message:
-----------
Restoring ability to access the log file name in vexi.
- In vexi1 it was 'vexi.log.name'
- In vexi3 it is 'vexi.params["vexi.logfile"]'
Modified Paths:
--------------
trunk/core/org.vexi.core/src/org/vexi/core/Main.java
Modified: trunk/core/org.vexi.core/src/org/vexi/core/Main.java
===================================================================
--- trunk/core/org.vexi.core/src/org/vexi/core/Main.java 2009-08-19
11:32:41 UTC (rev 3611)
+++ trunk/core/org.vexi.core/src/org/vexi/core/Main.java 2009-08-20
15:16:35 UTC (rev 3612)
@@ -105,7 +105,10 @@
else if (opt.equals("error"))
Log.user.setLevel(Logger.ERROR);
else if (opt.equals("silent"))
Log.user.setLevel(Logger.SILENT);
else if (opt.equals("rpc")) Log.rpc.setLevel(Logger.DEBUG);
- else Log.user.file(opt);
+ else {
+ params.putSafe(JSU.S("vexi.logfile"), JSU.S(opt));
+ Log.user.file(opt);
+ }
}
} else if (args[startargs].equals("-debug")) {
debug = true;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn