"Fossies" - the Fresh Open Source Software Archive

Member "log_analysis-0.46/doc/sample-new.conf" (3 Jan 2001, 656 Bytes) of package /linux/privat/old/log_analysis-0.46.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 config_version 0.3405
    2 
    3 # yay!  A new type of config
    4 
    5 # what logtype do the upcoming patterns belong to?
    6 logtype: syslog
    7 
    8 
    9 # an old-fashioned, single destination pattern
   10 pattern: modprobe: can't locate module ($word_pat)
   11 
   12     format: $&
   13     dest:   stuff that might need fixing
   14 
   15 # A pattern with two destinations, one of which also has a count
   16 pattern: named: unknown logging category \'($word_pat)\' ignored
   17 
   18     format: $1
   19     count:  2
   20     dest:   named: unknown logging category
   21 
   22     format: $&
   23     dest:   stuff that might need fixing
   24 
   25 # a "last message" pattern.  Ooh, this was a b*tch to code.
   26 pattern: last message repeated (\d+) times
   27 
   28     format: $1
   29     count:  $1
   30     dest:   LAST
   31