fixed directory creation for logging to use recursive.
authorChris Koeritz <fred@gruntose.com>
Thu, 4 Oct 2012 00:22:30 +0000 (20:22 -0400)
committerChris Koeritz <fred@gruntose.com>
Thu, 4 Oct 2012 00:22:30 +0000 (20:22 -0400)
nucleus/library/configuration/application_configuration.cpp

index 5e7feac05b74e5e24612d7246c1727e9779d6d37..9f01391f8c61ebd1fdab010d5a0f7655c409941f 100644 (file)
@@ -326,7 +326,7 @@ astring application_configuration::get_logging_directory()
   // now we make sure the directory exists.
   filename testing(log_dir);
   if (!testing.exists()) {
-    bool okay = directory::make_directory(log_dir);
+    bool okay = directory::recursive_create(log_dir);
     if (!okay) {
       LOG(astring("failed to create logging directory: ") + log_dir);
       // return a directory almost guaranteed to exist; best we can do in this case.