You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/02/17 02:33:26 UTC
svn commit: r628404 -
/lenya/trunk/src/modules-core/monitoring/tools/compress_log.rb
Author: andreas
Date: Sat Feb 16 17:33:24 2008
New Revision: 628404
URL: http://svn.apache.org/viewvc?rev=628404&view=rev
Log:
Added comment to ruby script.
Modified:
lenya/trunk/src/modules-core/monitoring/tools/compress_log.rb
Modified: lenya/trunk/src/modules-core/monitoring/tools/compress_log.rb
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/monitoring/tools/compress_log.rb?rev=628404&r1=628403&r2=628404&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/monitoring/tools/compress_log.rb (original)
+++ lenya/trunk/src/modules-core/monitoring/tools/compress_log.rb Sat Feb 16 17:33:24 2008
@@ -18,6 +18,8 @@
# log entry for each minute. This way the performance of the SVG diagram generation
# can be improved.
#
+# Usage: ruby compress_log.rb sessions.log > sessions-compressed.log
+#
def compress_log(logfile_name)
File.open(logfile_name, "r") do |logfile|
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org