diff options
author | Jay Doane <jaydoane@apache.org> | 2022-03-28 17:07:48 -0700 |
---|---|---|
committer | Jay Doane <jay.s.doane@gmail.com> | 2022-03-29 14:50:43 -0700 |
commit | be072ebf0eb8b01e21dde9164bf64583ff424a22 (patch) | |
tree | 21e823e535b4d911bcaf88b187f4e740d739f938 | |
parent | 7d0f3db7930daf9d64e40c2d2195bfa49507a7a6 (diff) | |
download | couchdb-be072ebf0eb8b01e21dde9164bf64583ff424a22.tar.gz |
Convert notice to warning for exceptions
These entries are logged because of exceptions, and so should be
at least warning level.
-rw-r--r-- | src/smoosh/src/smoosh_channel.erl | 2 | ||||
-rw-r--r-- | src/smoosh/src/smoosh_server.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/smoosh/src/smoosh_channel.erl b/src/smoosh/src/smoosh_channel.erl index 85b345bfb..2f4c7bffd 100644 --- a/src/smoosh/src/smoosh_channel.erl +++ b/src/smoosh/src/smoosh_channel.erl @@ -434,7 +434,7 @@ maybe_start_compaction(State) -> maybe_start_compaction(State2#state{waiting = Q}) catch Class:Exception -> - couch_log:notice( + couch_log:warning( "~s: ~p ~p for ~s", [ State#state.name, diff --git a/src/smoosh/src/smoosh_server.erl b/src/smoosh/src/smoosh_server.erl index e9823c36f..cfde748d3 100644 --- a/src/smoosh/src/smoosh_server.erl +++ b/src/smoosh/src/smoosh_server.erl @@ -294,7 +294,7 @@ enqueue_request(State, Object) -> end catch ?STACKTRACE(Class, Exception, Stack) - couch_log:notice("~s: ~p ~p for ~s : ~p", + couch_log:warning("~s: ~p ~p for ~s : ~p", [?MODULE, Class, Exception, smoosh_utils:stringify(Object), Stack]) end. |