You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Marc Roos <M....@f1-outsourcing.eu> on 2020/07/24 10:29:55 UTC

Mesos syslog logging to error level instead of info?

 

I have my test cluster of mesos on again, and I am having mesos-master 
logs end up in the wrong logs. I think mesos is not logging to correct 
levels/facility. (using mesos-1.10.0-2.0.1.el7.x86_64)

Eg. I have got this on level error:

Jul 24 12:25:16 m01 mesos-master[28922]: I0724 12:25:16.854624 28955 
master.cpp:8889] Performing explicit task state reconciliation for 1 
tasks of framework 43d5a67d-8c4e-496e-a108-5cfeb10b8967-0000 (marathon) 
at scheduler-a9897343-98ee-4c31-a715-1b5e96e296bb@192.168.10.22:41009
Jul 24 12:25:20 m01 mesos-master[28922]: I0724 12:25:20.557858 28957 
authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint 
'/metrics/snapshot'
Jul 24 12:25:24 m01 mesos-master[28922]: I0724 12:25:24.738281 28957 
authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint 
'/metrics/snapshot'
Jul 24 12:25:26 m01 mesos-master[28922]: I0724 12:25:26.547469 28958 
authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint 
'/metrics/snapshot'
Jul 24 12:25:26 m01 mesos-master[28922]: I0724 12:25:26.554080 28961 
http.cpp:1436] HTTP GET for /master/state?jsonp=angular.callbacks._fmv 
from 192.168.10.219:49885 with User-Agent='Mozilla/5.0 (Windows NT 6.1; 
Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'
Jul 24 12:25:26 m01 mesos-master[28922]: I0724 12:25:26.556207 28956 
http.cpp:1453] HTTP GET for /master/state?jsonp=angular.callbacks._fmv 
from 192.168.10.219:49885: '200 OK' after 2.46784ms
Jul 24 12:25:26 m01 mesos-master[28922]: I0724 12:25:26.582295 28955 
http.cpp:1436] HTTP GET for 
/master/maintenance/schedule?jsonp=angular.callbacks._fmw from 
192.168.10.219:63372 with User-Agent='Mozilla/5.0 (Windows NT 6.1; 
Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'
Jul 24 12:25:30 m01 mesos-master[28922]: I0724 12:25:30.635844 28955 
authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint 
'/metrics/snapshot'
Jul 24 12:25:31 m01 mesos-master[28922]: I0724 12:25:31.874604 28955 
master.cpp:8889] Performing explicit task state reconciliation for 1 
tasks of framework 43d5a67d-8c4e-496e-a108-5cfeb10b8967-0000 (marathon) 
at scheduler-a9897343-98ee-4c31-a715-1b5e96e296bb@192.168.10.22:41009
Jul 24 12:25:34 m01 mesos-master[28922]: I0724 12:25:34.816028 28958 
authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint 
'/metrics/snapshot'
Jul 24 12:25:36 m01 mesos-master[28922]: I0724 12:25:36.625381 28955 
authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint 
'/metrics/snapshot'
Jul 24 12:25:36 m01 mesos-master[28922]: I0724 12:25:36.632581 28956 
http.cpp:1436] HTTP GET for /master/state?jsonp=angular.callbacks._fn0 
from 192.168.10.219:49885 with User-Agent='Mozilla/5.0 (Windows NT 6.1; 
Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'
Jul 24 12:25:36 m01 mesos-master[28922]: I0724 12:25:36.634801 28959 
http.cpp:1453] HTTP GET for /master/state?jsonp=angular.callbacks._fn0 
from 192.168.10.219:49885: '200 OK' after 2.55488ms
Jul 24 12:25:36 m01 mesos-master[28922]: I0724 12:25:36.687845 28958 
http.cpp:1436] HTTP GET for 
/master/maintenance/schedule?jsonp=angular.callbacks._fn1 from 
192.168.10.219:63372 with User-Agent='Mozilla/5.0 (Windows NT 6.1; 
Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'

Re: Mesos syslog logging to error level instead of info?

Posted by Vinod Kone <vi...@apache.org>.
I dont think I understand the problem here. Could you please elaborate more
on what you are expecting and what you are seeing? Also the flags and env
variables for the mesos-master process that you are using would be good to
include.

On Fri, Jul 24, 2020 at 5:30 AM Marc Roos <M....@f1-outsourcing.eu> wrote:

>
>
> I have my test cluster of mesos on again, and I am having mesos-master
> logs end up in the wrong logs. I think mesos is not logging to correct
> levels/facility. (using mesos-1.10.0-2.0.1.el7.x86_64)
>
> Eg. I have got this on level error:
>
> Jul 24 12:25:16 m01 mesos-master[28922]: I0724 12:25:16.854624 28955
> master.cpp:8889] Performing explicit task state reconciliation for 1
> tasks of framework 43d5a67d-8c4e-496e-a108-5cfeb10b8967-0000 (marathon)
> at scheduler-a9897343-98ee-4c31-a715-1b5e96e296bb@192.168.10.22:41009
> Jul 24 12:25:20 m01 mesos-master[28922]: I0724 12:25:20.557858 28957
> authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint
> '/metrics/snapshot'
> Jul 24 12:25:24 m01 mesos-master[28922]: I0724 12:25:24.738281 28957
> authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint
> '/metrics/snapshot'
> Jul 24 12:25:26 m01 mesos-master[28922]: I0724 12:25:26.547469 28958
> authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint
> '/metrics/snapshot'
> Jul 24 12:25:26 m01 mesos-master[28922]: I0724 12:25:26.554080 28961
> http.cpp:1436] HTTP GET for /master/state?jsonp=angular.callbacks._fmv
> from 192.168.10.219:49885 with User-Agent='Mozilla/5.0 (Windows NT 6.1;
> Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'
> Jul 24 12:25:26 m01 mesos-master[28922]: I0724 12:25:26.556207 28956
> http.cpp:1453] HTTP GET for /master/state?jsonp=angular.callbacks._fmv
> from 192.168.10.219:49885: '200 OK' after 2.46784ms
> Jul 24 12:25:26 m01 mesos-master[28922]: I0724 12:25:26.582295 28955
> http.cpp:1436] HTTP GET for
> /master/maintenance/schedule?jsonp=angular.callbacks._fmw from
> 192.168.10.219:63372 with User-Agent='Mozilla/5.0 (Windows NT 6.1;
> Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'
> Jul 24 12:25:30 m01 mesos-master[28922]: I0724 12:25:30.635844 28955
> authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint
> '/metrics/snapshot'
> Jul 24 12:25:31 m01 mesos-master[28922]: I0724 12:25:31.874604 28955
> master.cpp:8889] Performing explicit task state reconciliation for 1
> tasks of framework 43d5a67d-8c4e-496e-a108-5cfeb10b8967-0000 (marathon)
> at scheduler-a9897343-98ee-4c31-a715-1b5e96e296bb@192.168.10.22:41009
> Jul 24 12:25:34 m01 mesos-master[28922]: I0724 12:25:34.816028 28958
> authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint
> '/metrics/snapshot'
> Jul 24 12:25:36 m01 mesos-master[28922]: I0724 12:25:36.625381 28955
> authorization.cpp:136] Authorizing principal 'ANY' to GET the endpoint
> '/metrics/snapshot'
> Jul 24 12:25:36 m01 mesos-master[28922]: I0724 12:25:36.632581 28956
> http.cpp:1436] HTTP GET for /master/state?jsonp=angular.callbacks._fn0
> from 192.168.10.219:49885 with User-Agent='Mozilla/5.0 (Windows NT 6.1;
> Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'
> Jul 24 12:25:36 m01 mesos-master[28922]: I0724 12:25:36.634801 28959
> http.cpp:1453] HTTP GET for /master/state?jsonp=angular.callbacks._fn0
> from 192.168.10.219:49885: '200 OK' after 2.55488ms
> Jul 24 12:25:36 m01 mesos-master[28922]: I0724 12:25:36.687845 28958
> http.cpp:1436] HTTP GET for
> /master/maintenance/schedule?jsonp=angular.callbacks._fn1 from
> 192.168.10.219:63372 with User-Agent='Mozilla/5.0 (Windows NT 6.1;
> Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0'
>