Log decoration (pjsua_reconfigure_logging())

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot for the fix.


> Hi Thiago,
> 
> actually I've replied to this mail too, but it
> didn't seem to make 
> it to the list.  Anyway, these issues have been
> fixed in 
> http://www.pjsip.org/trac/ticket/365
> 
> thanks for the report!
> 
> cheers,
>   -benny
> 
> tloginbr-pjsip at yahoo.com.br wrote:
> > Hi guys, I sent this message once already, but the
> > list was in trouble and I don't know if it
> arrived, so
> > sorry for repeating.
> > 
> > I'm trying to change the log decoration, but it
> > seems to stay the same... Calling
> > pjsua_reconfigure_logging() changes some other
> > parameters (level, filename...) but the decoration
> > stays the same (the default settings). The same
> > happens if I try to set the decoration sending it
> to
> > pjsua_init() (that calls
> pjsua_reconfigure_logging()
> > inside pjsua_core.c). If I set it directly with
> > pj_log_set_decor() it works. I didn't see any
> calls to
> > pj_log_set_decor() inside
> pjsua_reconfigure_logging(),
> > not sure if its supposed to be there...
> > 
> > And one other detail is that after I set it with
> > pj_log_set_decor(), the month number shows july
> (and
> > my computer date is set to August). Below is one
> > example:
> > 
> > 2007-07 29 10:09:44 pjsua_media.c RTP socket
> reachable
> > at 10.100.0.143:4090
> > 
> > Is there any thing I'm doing wrong here? The code
> I'm
> > using has the following lines:
> > 
> > log_cfg.decor = PJ_LOG_HAS_YEAR | PJ_LOG_HAS_MONTH
> |
> > PJ_LOG_HAS_DAY_OF_MON | PJ_LOG_HAS_TIME |
> > PJ_LOG_HAS_SENDER | PJ_LOG_HAS_NEWLINE;
> > pjstatus = pjsua_init(&cfg, &log_cfg, &media_cfg);
> > 
> > thanks for any help,
> > 
> > Thiago
> > 
> > 
> >       Flickr agora em portugu?s. Voc? clica, todo
> mundo v?.
> > http://www.flickr.com.br/
> > _______________________________________________
> > pjsip mailing list
> > pjsip at pjsip.org
> > http://www.pjsip.org/mailman/listinfo/pjsip
> 
> 
> -- 
> Benny Prijono
> http://www.pjsip.org
> 
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
>
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 



      Flickr agora em portugu?s. Voc? clica, todo mundo v?.
http://www.flickr.com.br/



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux