With this version you can either log to syslog, either to stderr. You cannot log (directly from OpenSIPS) to two destinations in the same time.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
  https://www.siphub.com

On 05.07.2024 11:05, Sasmita Panda wrote:
version: opensips 3.2.18 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: ffdb1b473
main.c compiled on  with gcc 12
*/
/*
*/
/*
*/Thanks & Regards/*
/Sasmita Panda/
/Senior Network Testing and Software Engineer/
/3CLogic , ph:07827611765/


On Fri, Jul 5, 2024 at 11:50 AM Bogdan-Andrei Iancu <[email protected]> wrote:

    Hi,

    What opensips version do you have ?

    Regards,

    Bogdan-Andrei Iancu

    OpenSIPS Founder and Developer
       https://www.opensips-solutions.com
       https://www.siphub.com

    On 05.07.2024 09:15, Sasmita Panda wrote:
    Hi All ,
    I want Openisps to have standard error output. In addition to
    that it , I want opensips to write the messages on a file as well
    . Is that possible anyway ?

    log_stderror=yes
    log_facility=LOG_LOCAL5

    I have this configuration on my config file .  This is not
    working for me . What is the configuration on which I will get
    console output as well as logging on the log file ?

    */Thanks & Regards/*
    /Sasmita Panda/
    /Senior Network Testing and Software Engineer/
    /3CLogic , ph:07827611765/

    _______________________________________________
    Users mailing list
    [email protected]
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to