Skip to content
Snippets Groups Projects
Commit f832fcf5 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

lib-sieve: sieve-storage - Add sieve-storage event category.

parent 9326853d
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,10 @@
"Internal error occurred. Refer to server log for more information."
#define CRITICAL_MSG_STAMP CRITICAL_MSG " [%Y-%m-%d %H:%M:%S]"
struct event_category event_category_sieve_storage = {
.name = "sieve-storage",
};
/*
* Storage class
*/
......@@ -254,6 +258,7 @@ sieve_storage_event_create(struct sieve_instance *svinst,
struct event *event;
event = event_create(svinst->event);
event_add_category(event, &event_category_sieve_storage);
event_set_append_log_prefix(
event, t_strdup_printf("%s storage: ",
storage_class->driver_name));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.