Stanford-Online/class2go — pull request #1318 by sefk (2012-11-16 09:04:04+00:00)
Title: Apache logging, wtop, ipython (#162) to master

A few more fixes / enhancements for ubuntu.

1. Fix apache logging. Now include user agent and referrer in logs -- will increase size but they compress well.

2. install wtop / logrep (useful)

3. install ipython / ipdb (useful)

Installation test showing wtop install (since that's a little weird)

INITIAL RUN:

```
[2012-11-16T05:09:07+00:00] INFO: Processing bash[install wtop] action run (class2go-apache::default line 52)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying logrep.py -> build/lib.linux-x86_64-2.7
running build_scripts
creating build/scripts-2.7
copying wtop -> build/scripts-2.7
copying and adjusting logrep -> build/scripts-2.7
copying wtop.bat -> build/scripts-2.7
copying logrep.bat -> build/scripts-2.7
changing mode of build/scripts-2.7/logrep from 644 to 755
changing mode of build/scripts-2.7/wtop.bat from 644 to 755
changing mode of build/scripts-2.7/logrep.bat from 644 to 755
running install_lib
copying build/lib.linux-x86_64-2.7/logrep.py -> /usr/local/lib/python2.7/dist-packages
byte-compiling /usr/local/lib/python2.7/dist-packages/logrep.py to logrep.pyc
running install_scripts
copying build/scripts-2.7/wtop.bat -> /usr/local/bin
copying build/scripts-2.7/wtop -> /usr/local/bin
copying build/scripts-2.7/logrep.bat -> /usr/local/bin
copying build/scripts-2.7/logrep -> /usr/local/bin
changing mode of /usr/local/bin/wtop.bat to 755
changing mode of /usr/local/bin/wtop to 755
changing mode of /usr/local/bin/logrep.bat to 755
changing mode of /usr/local/bin/logrep to 755
running install_data
copying wtop.cfg -> /etc
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/wtop-0.6.3.egg-info
[2012-11-16T05:09:08+00:00] INFO: bash[install wtop] ran successfully
```

SECOND RUN:

```
[2012-11-16T05:11:11+00:00] INFO: Processing bash[install wtop] action run (class2go-apache::default line 52)
/usr/local/bin/wtop already exists, skipping install
[2012-11-16T05:11:11+00:00] INFO: bash[install wtop] ran successfully
```