diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-02-03 12:53:04 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-02-03 12:53:04 -0500 |
commit | be98c677cccb1727895312723784d01dbdd554e6 (patch) | |
tree | 3a339610f2c022d842cff4125c20082188719f61 | |
parent | bda359e9a1679ad42c5590fa9d9a86ce8c33ff86 (diff) | |
download | mongo-be98c677cccb1727895312723784d01dbdd554e6.tar.gz |
diaglog obey --dbpath SERVER-601
-rw-r--r-- | db/instance.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/instance.h b/db/instance.h index 44c697da5f9..5c132d20104 100644 --- a/db/instance.h +++ b/db/instance.h @@ -43,7 +43,7 @@ namespace mongo { if ( ! f && level ){ log() << "diagLogging = " << level << endl; stringstream ss; - ss << "diaglog." << hex << time(0); + ss << dbpath << "/diaglog." << hex << time(0); string name = ss.str(); f = new ofstream(name.c_str(), ios::out | ios::binary); if ( ! f->good() ) { |