diff options
author | Spencer T Brody <spencer@10gen.com> | 2012-12-14 10:48:42 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2012-12-14 12:54:10 -0500 |
commit | 1c4fb029c1c60459d423f4ad56a1e0841cacdc83 (patch) | |
tree | cf351dba1d90a22293307885746930d4b179245f /src/mongo/db/commands.h | |
parent | cc29e330d50c79e7df5e0dfdc72b26f9b62b7ad2 (diff) | |
download | mongo-1c4fb029c1c60459d423f4ad56a1e0841cacdc83.tar.gz |
Log when command that doesn't work with auth is run
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r-- | src/mongo/db/commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h index b9f43d195be..6f93ba4a3b8 100644 --- a/src/mongo/db/commands.h +++ b/src/mongo/db/commands.h @@ -184,6 +184,7 @@ namespace mongo { BSONObjBuilder& result, bool fromRepl) { errmsg = name + " is not supported when running with authentication enabled"; + log() << errmsg << std::endl; return false; } }; |