This is an automated email from the ASF dual-hosted git repository. jaydoane pushed a commit to branch 3.x in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit be072ebf0eb8b01e21dde9164bf64583ff424a22 Author: Jay Doane <[email protected]> AuthorDate: Mon Mar 28 17:07:48 2022 -0700 Convert notice to warning for exceptions These entries are logged because of exceptions, and so should be at least warning level. --- src/smoosh/src/smoosh_channel.erl | 2 +- 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 85b345b..2f4c7bf 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 e9823c3..cfde748 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.
