Re: [OpenSIPS-Users] xlog message sent to homer 7 via HEP has type as ERROR

2021-01-14 Thread Sunil More
Hello Liviu Chircu and Team,

I have recompiled and checked with said commit of opensips
opensips -V
version: opensips 3.1.1 (x86_64/linux)
git revision: 2212865f1
main.c compiled on 07:18:08 Jan 15 2021 with gcc 7

Now the logs are seen as NOTICE and not ERROR.

L_INFO does not make it to HEP logs
L_ALERT makes it to HEP as NOTICE
and other logs used as xlog("Anything ") also make it as NOTICE.

should they look like this or L_INFO should be seen as INFO while L_ALERT
seen as ALERT .

Sunil More

Manager - DevOps

91 95033 38275

sunil.m...@samespace.com






On Wed, Jan 13, 2021 at 7:55 PM Liviu Chircu  wrote:

> On 13.01.2021 15:24, Sunil More wrote:
> > I am using opensips 3.1.1 along with homer 7 and I could observe that
> > logs are going to Homer with type as ERROR.
> >
> > Here's opensips -V
> > version: opensips 3.1.1 (x86_64/linux)
> > git revision: 229ec0793
> > main.c compiled on 10:46:42 Jan  7 2021 with gcc 7
> >
> Hi,
>
> This has been fixed on Dec 10th [1], so you have 3 options:
>
> * pull latest 3.1 source code and rebuild OpenSIPS
> * install nightly 3.1 packages
> * wait until 3.1.2 release
>
> [1]: https://github.com/OpenSIPS/opensips/commit/2212865f19d
>
> Cheers,
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 
 



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] xlog message sent to homer 7 via HEP has type as ERROR

2021-01-13 Thread Sunil More
Thanks Liviu Chircu . I will do one of those .


On Wed, Jan 13, 2021, 7:55 PM Liviu Chircu  wrote:

> On 13.01.2021 15:24, Sunil More wrote:
> > I am using opensips 3.1.1 along with homer 7 and I could observe that
> > logs are going to Homer with type as ERROR.
> >
> > Here's opensips -V
> > version: opensips 3.1.1 (x86_64/linux)
> > git revision: 229ec0793
> > main.c compiled on 10:46:42 Jan  7 2021 with gcc 7
> >
> Hi,
>
> This has been fixed on Dec 10th [1], so you have 3 options:
>
> * pull latest 3.1 source code and rebuild OpenSIPS
> * install nightly 3.1 packages
> * wait until 3.1.2 release
>
> [1]: https://github.com/OpenSIPS/opensips/commit/2212865f19d
>
> Cheers,
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 
 



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] xlog message sent to homer 7 via HEP has type as ERROR

2021-01-13 Thread Liviu Chircu

On 13.01.2021 15:24, Sunil More wrote:
I am using opensips 3.1.1 along with homer 7 and I could observe that 
logs are going to Homer with type as ERROR.


Here's opensips -V
version: opensips 3.1.1 (x86_64/linux)
git revision: 229ec0793
main.c compiled on 10:46:42 Jan  7 2021 with gcc 7


Hi,

This has been fixed on Dec 10th [1], so you have 3 options:

* pull latest 3.1 source code and rebuild OpenSIPS
* install nightly 3.1 packages
* wait until 3.1.2 release

[1]: https://github.com/OpenSIPS/opensips/commit/2212865f19d

Cheers,

--
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] xlog message sent to homer 7 via HEP has type as ERROR

2021-01-13 Thread Sunil More
Hello All,

I am using opensips 3.1.1 along with homer 7 and I could observe that logs
are going to Homer with type as ERROR.

Here's opensips -V
version: opensips 3.1.1 (x86_64/linux)
git revision: 229ec0793
main.c compiled on 10:46:42 Jan  7 2021 with gcc 7

Here are  global  params
# Global Parameters 
log_level=3
log_stderror=no
log_facility=LOG_LOCAL3


here's the log line in script
xlog("This is a outbound Call $tt/$si/$rm/$ci/$fU/$rU ");

here's the HEP ngrep trace log

HEP3.
_..
.
..=...d.
...d.
..5..
..5..hERROR:This is a outbound Call /
10.153.53.157/INVITE/3BOQOHazTu/abcde/16468107000..3BOQOHazTu

Is there a way to control the type of log or is there something wrong that
I am doing here. I have also tried to log using

  xlog("L_INFO","This is a outbound Call $tt/$si/$rm/$ci/$fU/$rU ");  but
that doesn't go to HEP not does it show up in tail syslogs.



Sunil More

Manager - DevOps

91 95033 38275

sunil.m...@samespace.com





-- 
 



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users