| Path: | drossellog-split-logfile.rb |
| Last Update: | Sat Sep 15 16:30:16 +0200 2007 |
This part of Drossellog splits a big logfile into many subparts #
# File drossellog-split-logfile.rb, line 20
20: def get_next_filename
21: $num += 1
22: $outfile_prefix + '.' + $num.to_s
23: end
Explain to the user how to use Drossellog
# File drossellog-split-logfile.rb, line 11
11: def usage
12: puts 'splits a logfile into suitable parts'
13: puts '--help, -h Display this help'
14: puts '--split-file, -f <file> Parse a file'
15: puts '--outfile-prefix, -p <file/dir> Prefix of the ouputfile'
16: exit
17: end