diff --git a/main/logger.c b/main/logger.c
index 60f464c8a8..c460e91cf4 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -1776,41 +1776,6 @@ static int callid_logging_enabled(void)
return cgl ? 1 : 0; /* If found, enabled, otherwise not */
}
-/*** DOCUMENTATION
-
-
- Set the channel group name for log filtering on this channel
-
-
-
- Channel log group name. Leave empty to remove any existing group membership.
- You can use any arbitrary alphanumeric name that can then be used by the
- "logger filter changroup" CLI command to filter dialplan output by group name.
-
-
-
- Assign a channel to a group for log filtering.
- Because this application can result in dialplan execution logs
- being suppressed (or unsuppressed) from the CLI if filtering is active,
- it is recommended to call this as soon as possible when dialplan execution begins.
- Calling this multiple times will replace any previous group assignment.
-
- exten => s,1,Set(LOG_GROUP()=test)
- same => n,NoOp() ; if a logging call ID group filter name is enabled but test is not included, you will not see this
-
-
- exten => s,1,Set(LOG_GROUP()=important)
- same => n,Set(foo=bar) ; do some important things to show on the CLI (assuming it is filtered with important enabled)
- same => n,Set(LOG_GROUP()=) ; remove from group important to stop showing execution on the CLI
- same => n,Wait(5) ; do some unimportant stuff
-
-
-
- [Log]
-
-
- ***/
-
static int log_group_write(struct ast_channel *chan, const char *cmd, char *data, const char *value)
{
int res = callid_set_chanloggroup(value);
diff --git a/main/logger.xml b/main/logger.xml
new file mode 100644
index 0000000000..fa4ddff4ba
--- /dev/null
+++ b/main/logger.xml
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+ Set the channel group name for log filtering on this channel
+
+
+
+ Channel log group name. Leave empty to remove any existing group membership.
+ You can use any arbitrary alphanumeric name that can then be used by the
+ "logger filter changroup" CLI command to filter dialplan output by group name.
+
+
+
+ Assign a channel to a group for log filtering.
+ Because this application can result in dialplan execution logs
+ being suppressed (or unsuppressed) from the CLI if filtering is active,
+ it is recommended to call this as soon as possible when dialplan execution begins.
+ Calling this multiple times will replace any previous group assignment.
+
+ exten => s,1,Set(LOG_GROUP()=test)
+ same => n,NoOp() ; if a logging call ID group filter name is enabled but test is not included, you will not see this
+
+
+ exten => s,1,Set(LOG_GROUP()=important)
+ same => n,Set(foo=bar) ; do some important things to show on the CLI (assuming it is filtered with important enabled)
+ same => n,Set(LOG_GROUP()=) ; remove from group important to stop showing execution on the CLI
+ same => n,Wait(5) ; do some unimportant stuff
+
+
+
+ [Log]
+
+
+