diff options
author | Russell Branca <chewbranca@apache.org> | 2023-03-10 15:54:01 -0800 |
---|---|---|
committer | Russell Branca <chewbranca@apache.org> | 2023-05-04 13:00:34 -0700 |
commit | 97afc92b45113710838dcf7a1caea90c32897411 (patch) | |
tree | 511ddae2fbf59df1a0bf16f95d3edb551bfbbb82 | |
parent | a902c800dcf1878b302cd714745d473766acb2a6 (diff) | |
download | couchdb-97afc92b45113710838dcf7a1caea90c32897411.tar.gz |
Remove type from syslog entry as it's in metadata
-rw-r--r-- | src/couch_log/src/couch_log_writer_syslog.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/couch_log/src/couch_log_writer_syslog.erl b/src/couch_log/src/couch_log_writer_syslog.erl index 567e623ba..d99550bde 100644 --- a/src/couch_log/src/couch_log_writer_syslog.erl +++ b/src/couch_log/src/couch_log_writer_syslog.erl @@ -93,10 +93,9 @@ do_write(Entry, St) -> pid = Pid, msg = Msg, msg_id = MsgId, - type = Type, time_stamp = TimeStamp } = couch_log_util:maybe_format_type(Entry), - Fmt = "<~B>~B ~s ~s ~s ~p ~p ~s - ", + Fmt = "<~B>~B ~s ~s ~s ~p ~s - ", Args = [ St#st.facility bor get_level(Level), ?SYSLOG_VERSION, @@ -104,7 +103,6 @@ do_write(Entry, St) -> St#st.hostname, St#st.appid, Pid, - Type, MsgId ], Pre = io_lib:format(Fmt, Args), |