Logging in mapper #12

Closed
taazza opened this Issue Nov 15, 2009 · 4 comments

Projects

None yet

2 participants

@taazza

Nanite mapper seems to log all requests to agents as INFO:

[Sun, 15 Nov 2009 01:34:35 -0500] INFO: SEND [result] to TEST_I
[Sun, 15 Nov 2009 01:34:35 -0500] INFO: RECV [result] from TEST_II

Is there any way to control this? The log files grow like crazy when every request is logged. Not sure if this is a logging issue or the way we are using it.

@roidrage
Collaborator

It is indeed a logging issue. There was a merge that changed the logging in a way that everything would go super-noisy even in log level info. I might change that to only use debug for dumping every request, since it's bothering me as well. It is pretty useful to follow the trail of requests, but I agree that it's not great.

@taazza

Agreed, it would make sense to move it to DEBUG. Any chance of a quick fix? We are looking to move to prod in the next week. Thanks ;)

@roidrage
Collaborator

I'll look into it tomorrow.

@roidrage
Collaborator

Fixed in the main code. Will be in the next gem update.

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