New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phxbinlogsvr日志里大量的 ERROR: httpcall -303 #49

Closed
soniazhai opened this Issue Oct 11, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@soniazhai

soniazhai commented Oct 11, 2016

这个错误是什么意思?如何解决?看起来进程都还在正常运行。
另,phxbinlogsvr和phxsqlproxy日志的级别该如何调整?现在日志量太大了

@cjcchen

This comment has been minimized.

Show comment
Hide comment
@cjcchen

cjcchen Oct 11, 2016

Collaborator

可以通过配置etc/phxbinlogsvr.conf中的loglevel选项。
级别1<2<3。
目前的级别为3,可以通过降低级别来减少日志。

Collaborator

cjcchen commented Oct 11, 2016

可以通过配置etc/phxbinlogsvr.conf中的loglevel选项。
级别1<2<3。
目前的级别为3,可以通过降低级别来减少日志。

@soniazhai

This comment has been minimized.

Show comment
Hide comment
@soniazhai

soniazhai commented Oct 11, 2016

thanks @cjcchen

@soniazhai

This comment has been minimized.

Show comment
Hide comment
@soniazhai

soniazhai Oct 11, 2016

日志级别调整并重启二进制后(分别尝试了2和1),日志文件还是很大
比如phxsqlproxy.INFO里面都是此类信息
W1011 16:36:39.435902 25662 phx_glog.cpp:78] UpdateGroupStatus:95 GetMaster success but (10.5.77.18:1476131826) expired
W1011 16:36:39.435917 25662 phx_glog.cpp:78] UpdateGroupStatus ret -97

soniazhai commented Oct 11, 2016

日志级别调整并重启二进制后(分别尝试了2和1),日志文件还是很大
比如phxsqlproxy.INFO里面都是此类信息
W1011 16:36:39.435902 25662 phx_glog.cpp:78] UpdateGroupStatus:95 GetMaster success but (10.5.77.18:1476131826) expired
W1011 16:36:39.435917 25662 phx_glog.cpp:78] UpdateGroupStatus ret -97

@cjcchen

This comment has been minimized.

Show comment
Hide comment
@cjcchen

cjcchen Oct 11, 2016

Collaborator

proxy的日志是通过配置etc/phxsqlproxy.conf中的日志级别。
phxbinlogsvr的日志是通过配置etc/phxbinlogsvr.conf中的日志级别。

配置更新后需要重新启动相应的二进制。

日志级别分为0,1,2,3,如果实在太多,可尝试改成0.

谢谢您的反馈。

Collaborator

cjcchen commented Oct 11, 2016

proxy的日志是通过配置etc/phxsqlproxy.conf中的日志级别。
phxbinlogsvr的日志是通过配置etc/phxbinlogsvr.conf中的日志级别。

配置更新后需要重新启动相应的二进制。

日志级别分为0,1,2,3,如果实在太多,可尝试改成0.

谢谢您的反馈。

@soniazhai soniazhai closed this Oct 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment