Issue Details (XML | Word | Printable)

Key: MBS-4137
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Kuno Woudt
Reporter: Oliver Charles
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Server

Release editor is generating a lot of log information

Created: 06/Jan/12 11:28 AM   Updated: 09/Jul/12 01:02 PM  Due: 28/Mar/12   Resolved: 29/Jun/12 01:55 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Issue Links:
Relates
 


 Description  « Hide

Please decide if you actually need this information or not as it's cluttering the logs quite a lot



Sort Order: Ascending order - Click to sort in descending order
Kuno Woudt added a comment - 23/Jan/12 05:18 PM

I haven't had many crash reports recently, so haven't looked at the logs in quite some time. In that sense I do not currently need "this information".

Can you paste examples of "this information" you would like to see removed? Then I can submit patches to remove the loggers for them if I indeed decide we no longer need it, or figure out a way to adjust the frequency of the messages (so that it logs only when an actual problem occurred for which we would like to consult these logs).


Oliver Charles added a comment - 27/Jan/12 05:24 PM
[warning] wizard session, new key: wizard_session:8347c734936963b7ba0166186c2bed95117626be:0.515757650732859:wizard
[error] wizard session, cache miss for: wizard_session:05ad351fe3453d9f8d4443bb2f351ed056596a29:0.497308421239286:wizard

These are in the production branch only


Kuno Woudt added a comment - 01/Feb/12 05:47 PM

reosarevok reported a 502 on irc, which I think corresponds to these entries in the oddlog for pingu:

2012-02-01 12:17:43.334487500 [error] wizard session, cache miss for: wizard_session:b6b0d00408024e9af9ee8a427f99c77bfb976265:0.811592489227877:wizard
2012-02-01 12:17:44.813611500 [error] Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Edit->edit "Can't use an undefined value as a HASH reference at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Wizard.pm line 269."

Which is strange because we don't have any evictions in the memcached server used for sessions and wizard sessions:

warp@hobbes:~$ python code/python-memcached-stats/src/stats.py | grep evict
'evictions': '0',

So, that means the "wizard_session:b6b0d00408024e9af9ee8a427f99c77bfb976265:0.811592489227877:wizard" key was never correctly saved to memcached.


Kuno Woudt added a comment - 29/Jun/12 01:55 PM

These messages should have disappeared when we stopped using the production branch. Presumed fixed.