whosgonna created an issue (kamailio/kamailio#4734)
<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature
requests. Please use this template only for feature requests.
If you have questions about using Kamailio or related to its configuration
file, ask on sr-users mailing list:
*
https://lists.kamailio.org/mailman3/postorius/lists/sr-users.lists.kamailio.org/
If you have questions about developing extensions to Kamailio or its existing C
code, ask on sr-dev mailing list:
*
https://lists.kamailio.org/mailman3/postorius/lists/sr-dev.lists.kamailio.org/
Please try to fill this template as much as possible for any issue. It helps
the developers to troubleshoot the issue.
If you submit a feature request (or enhancement) add the description of what
you would like to be added.
If there is no content to be filled in a section, the entire section can be
removed.
Note that a feature request may be closed automatically after about 2 months
if there is no interest from developers or community users to implement it,
being
considered expired. In such case can be reopened by writing a comment that
includes
the token `/notexpired`. About two weeks before considered expired, the item is
marked with the label `stale`, trying to notify the submitter and everyone else
that might be interested in it. To remove the label `stale`, write a comment
that
includes the token `/notstale`. Also, any comment postpone the `expire`
timeline,
being considered that there is interest in the proposed feature request.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a
comment).
-->
### Description
Add modparam to XLOG module named `auto_newline` that will automatically
append a new line to all xlog lines.
### Expected behavior
New module parameter named `auto_newline` that will append a newline to all
xlog lines. Example:
```
modparam("xlog", "auto_newline", 1);
...
request_route {
xlog("X_INFO", "Auto-append newline");
}
```
Will automatically add a `\n` to the end of the string `Auto-append newline`
(`Auto-append newline\n`)
The parameter should work with all functions like `xinfo()`, `xerr()`, etc.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4734
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/[email protected]>_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!