Index: /branches/mt4.11/lib/MT/Core.pm
===================================================================
--- /branches/mt4.11/lib/MT/Core.pm (revision 1377)
+++ /branches/mt4.11/lib/MT/Core.pm (revision 1380)
@@ -499,4 +499,5 @@
             'PerformanceLogging' => { default => 0 },
             'PerformanceLoggingThreshold' => { default => 0.1 },
+            'PerformanceLoggingPath' => { handler => \&PerformanceLoggingPath },
             'ProcessMemoryCommand' => { handler => \&ProcessMemoryCommand },
         },
@@ -797,4 +798,17 @@
     require MT::WeblogPublisher;
     return MT::WeblogPublisher->core_archive_types;
+}
+
+sub PerformanceLoggingPath {
+    my $cfg = shift;
+    $cfg->set_internal( 'PerformanceLoggingPath', @_ ) if @_;
+    my $path = $cfg->get_internal('PerformanceLoggingPath');
+    unless (defined $path) {
+        require File::Spec;
+        $path = File::Spec->catdir( MT->instance->static_file_path,
+            'support', 'logs');
+        $cfg->set_internal('PerformanceLoggingPath', $path);
+    }
+    return $path;
 }
 
Index: /branches/mt4.11/lib/MT.pm.pre
===================================================================
--- /branches/mt4.11/lib/MT.pm.pre (revision 1376)
+++ /branches/mt4.11/lib/MT.pm.pre (revision 1380)
@@ -910,7 +910,5 @@
 
     # Log filename calcluation; changes daily, so we don't cache this
-    require File::Spec;
-    my $dir = File::Spec->catdir( MT->instance->static_file_path,
-        'support', 'logs');
+    my $dir = $pkg->config->PerformanceLoggingPath;
     if (! -d $dir) {
         require File::Path;
