README.textile in wvanbergen-request-log-analyzer-0.3.4 vs README.textile in wvanbergen-request-log-analyzer-1.0.0
- old
+ new
@@ -15,19 +15,32 @@
@sudo gem install wvanbergen-request-log-analyzer --source http://gems.github.com@
h2. Usage
<pre>
-Usage: request-log-analyzer [FILE] [OPTION]
-Analyze the given log FILE with the given OPTION
-Example: request-log-analyzer mongrel.log -z
+ Usage: request-log-analyzer [LOGFILES*] <OPTIONS>
- --fast, -f: Only use completed requests
- --guess-database-time, -g: Guesses the database duration of requests if they are not in the log
- --output, -o: Comma-separated list of reports to show
- --amount, -c: Displays the top <amount> elements in the reports
- --colorize, -z: Fancy bash coloring
- --install rails, -i rails: Install Rails task rake log:analyze
+ Input options:
+ --format <format>, -f: Uses the specified log file format. Defaults to rails.
+ --after <date> Only consider requests from <date> or later.
+ --before <date> Only consider requests before <date>.
+ --select <field> <value> Only consider requests where <field> matches <value>.
+ --reject <field> <value> Only consider requests where <field> does not match <value>.
+
+ Output options:
+ --boring, -b Output reports without ASCII colors.
+ --database <filename>, -d: Creates an SQLite3 database of all the parsed request information.
+ --debug Print debug information while parsing.
+
+ Examples:
+ request-log-analyzer development.log
+ request-log-analyzer -z mongrel.0.log mongrel.1.log mongrel.2.log
+ request-log-analyzer --format merb -d requests.db production.log
+
+ To install rake tasks in your Rails application,
+ run the following command in your application's root directory:
+
+ request-log-analyzer install rails
</pre>
h2. Example result
\ No newline at end of file