Update of /cvsroot/monetdb/pathfinder/runtime
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19206

Modified Files:
        pathfinder.mx 
Log Message:
Due to a change in the logdir location on the last feature release, we
ended up in a position where an absolute location is not treated the
same was as a relative location as logdir argument.  While the absolute
location is treated in such a way that backwards compatability is kept,
a relative location is treated in a new way to end up in some location
relative to dbfarm/dbname.  In particular the relative location makes
little sense to be changed (purely cosmetic), and is of limited freedom
when moving up in the hierarchy (using ../).  Hence, the consensus has
been reached that setting the value for the relative logdir is not
necessary.  On the other hand, setting an absolute logdir is
undesirable, as data and logdir go hand in hand, and without any of both
the other is useless (hence putting the logs in volatile storage seems
of no actual use).

For the next feature release, logdir can only be a relative path, and it
is hardwired to the current defaults (for backwards compatability).
Absolute paths are no longer allowed, requiring users to move their
logdirs to the relative location.  This means for SQL sql_logs, and for
XQuery xquery_logs.  A next feature release can then decide to change
these locations, given that it knows the previous ones.


U pathfinder.mx
Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.461
retrieving revision 1.462
diff -u -d -r1.461 -r1.462
--- pathfinder.mx       27 May 2009 13:44:34 -0000      1.461
+++ pathfinder.mx       1 Jul 2009 12:34:40 -0000       1.462
@@ -4150,8 +4150,9 @@
 
 @- startup sequence
 @mil
-var pf_logger := xquery_logger_create(0, "xquery", 
monet_environment.find("xquery_logdir"), 
-                                            
monet_environment.find("gdk_dbname"), LOGGER_VERSION);
+var pf_logger := xquery_logger_create(0, "xquery", "xquery_logs", 
+                                      monet_environment.find("gdk_dbname"),
+                                      LOGGER_VERSION);
 # initialize persistent bats (use BBP as global mechanism to discover 
initialization)
 if (isnil(CATCH(bat("doc_name").count()))) {
     collection_name  := bat("collection_name");


------------------------------------------------------------------------------
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to