opengeo/GeoGit — pull request #369 by scooterw (2013-07-31 19:11:08+00:00)
Title: Add basic logging / performance logging structure

Submitting this for discussion ...

Add basic logging / performance logging structure

This commit adds dependencies in src/parent pom.xml for:
- log4j v1.2.17
- perf4j v0.9.16

Dependencies are also added for the following child projects:
- src/cli
- src/core
- src/geotools

src/cli/src/main/java/org/geogit/cli/GeogitCLI.java was modified
to pass existing geotools logging to log4j

src/geotools/src/main/java/org/geogit/geotools/porcelain/ShpImport.java
was modified to:
- log which shapefile is being imported
- log import time

Log files are placed in ${user.home}/.geogit-log/{user, perf,
stacktraces} allowing for the separation of user logs, development logs,
and performance logs into different files for easier parsing of relevant
information.