mongodb-labs / edda

A log visualizer for MongoDB - This Repository is NOT a supported MongoDB product
232 stars 28 forks source link

re.WHITESPACE error #47

Closed kchodorow closed 12 years ago

kchodorow commented 12 years ago
Traceback (most recent call last):
  File "logl.py", line 266, in <module>
    main()
  File "logl.py", line 153, in main
    doc = traffic_control(line, date)
  File "logl.py", line 256, in traffic_control
    doc = sys.modules[fname].process(msg, date)
  File "/Users/k/gitroot/logl/logl/filters/conn_msg.py", line 40, in process
    new_conn(msg, doc)
  File "/Users/k/gitroot/logl/logl/filters/conn_msg.py", line 55, in new_conn
    """, re.WHITESPACE)
AttributeError: 'module' object has no attribute 'WHITESPACE'
samantharitter commented 12 years ago

This is now fixed. But there is another problem in conn_msg.py, that it exits if it cannot find an IP number. I think we should be open to having a hostname there instead of an IP, yes?

kchodorow commented 12 years ago

Almost certainly.

samantharitter commented 12 years ago

Also, the module is not able to extract a connection number from end-of-connection messages

samantharitter commented 12 years ago

Both these problems should now be fixed