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|
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.