[SR-Users] It does not log any route. Clean installation

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 12 12:26:56 CEST 2017


Hello,


On 11.10.17 22:31, Bruno Henrique Gomes Gouvêa wrote:
> Thanks for the reply.
>
> journalctl does not show me any additional information as well.
> I changed the log to /var/log/kamailio.log using: debug = 3;
> log_stderror = no; log_facility = LOG_LOCAL6 and in rsyslog.conf
> local6. * /var/log/kamailio.log
>
> but I still see the initialization of kamailio correctly, but no log
> of incoming requests:
> request_route {
>          log ("Log main request");
>          xlog ("L_INFO", "Log main request 2");
>
> I assume this line should be executed on any received request right?
>
>
yes, if the xlog() is at the top of request_route, it should be printed
for each valid request received by Kamailio.

Can you set log_stderror=yes and see if the messages are printed in the
terminal?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, in Berlin, Nov 13-15, 2017 - www.asipto.com
Kamailio World Conference - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171012/0a043554/attachment.html>


More information about the sr-users mailing list