Re:wtop: "top" for Apache, plus powerful log grepping
by FiReaNG3L on Monday June 16, 2008 @11:19PM
(#219367)
Anyone got this to work? When I wtop nothing happens, it just waits. Access log location is properly configured, upgraded to latest Python. Same with logrep!
Re:wtop: "top" for Apache, plus powerful log grepping
by aristus on Tuesday June 17, 2008 @12:03AM
(#219390)
I have a wrong assumption about log archive patterns. One of the difficulties with something like this is that everyone's installation is a little bit different.
You can try 0.5.4, which takes LOG_PATH + LOG_FILE literally. Thanks for the feedback!
/usr/local/src/wtop-0.5.6]# python setup.py install running install running build running build_py creating build creating build/lib copying logrep.py -> build/lib running build_scripts creating build/scripts-2.4 copying wtop -> build/scripts-2.4 copying and adjusting logrep -> build/scripts-2.4 changing mode of build/scripts-2.4/logrep from 644 to 755 running install_lib copying build/lib/logrep.py -> /usr/lib/python2.4/site-packages byte-compiling /usr/lib/python2.4/site-packages/logrep.py to logrep.pyc File "/usr/lib/python2.4/site-packages/logrep.py", line 370 return [(key,op,castfns[key](value)) if op != '~' else (key,op,re.compile(value)) for key,op,value in conditions] ^ SyntaxError: invalid syntax running install_scripts copying build/scripts-2.4/wtop -> /usr/bin copying build/scripts-2.4/logrep -> /usr/bin changing mode of /usr/bin/wtop to 777 changing mode of /usr/bin/logrep to 755 running install_data copying wtop.cfg -> /etc
0.5.2 is up. Sorry, folks.
http://wtop.googlecode.com/files/wtop-0.5.2.tar.gz
You can try 0.5.4, which takes LOG_PATH + LOG_FILE literally. Thanks for the feedback!