We use Turbine's DB layer, but not the Turbine servlet. This revealed a bug
in Log.java because logfile would never get initialized. Here's the patch,
which I'd be happy to commit unless anyone objects. Thanks.
% cvs diff -u Log.java
Index: Log.java
===================================================================
RCS file: /products/cvs/turbine/turbine/src/java/org/apache/turbine/util/Log.java,v
retrieving revision 1.7
diff -u -r1.7 Log.java
--- Log.java 2001/01/07 06:00:09 1.7
+++ Log.java 2001/01/10 14:43:15
@@ -154,8 +154,8 @@
// now attempt to create the log file relative to the
ServletContext root
logFileString = ServletUtils.expandRelative( sc,
logFileString );
- logfile = new FileWriter( logFileString, true );
}
+ logfile = new FileWriter( logFileString, true );
}
catch (FileNotFoundException fnfe)
{
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]