logs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Logs-devel] compiling a ruleset?


From: Jim Prewett
Subject: [Logs-devel] compiling a ruleset?
Date: Fri, 18 Aug 2006 06:46:26 -0600 (MDT)

Hi All,

I want to figure out if it is possible to compile a top-level ruleset.

Right now, I have a ruleset file that loads other ruleset files to build 
up the complete ruleset.  These files may, apparently, be compiled, but 
when I compile the toplevel ruleset and load it instead of the Lisp file, 
I don't get anything in the *root-ruleset*.  Any ideas?

I'd like to be able to do something like this on the command-line 
(assuming I'm on my x86 box using CMUCL):

lisp -core $LoGS_CORE --ruleset foo.x86f --file /var/log/messages \
     -eval '(main)'

instead of:
lisp -core $LoGS_CORE --ruleset foo.lisp --file /var/log/messages \
     -eval '(main)'

Or, ideally, something like this (where foo.x86f would be loaded if it 
existed and was more recent than foo.lisp, otherwise foo.lisp would be 
compiled and loaded):
lisp -core $LoGS_CORE --ruleset foo --file /var/log/messages \
     -eval '(main)'

Jim

James E. Prewett                    address@hidden address@hidden 
Systems Team Leader           LoGS: http://www.hpc.unm.edu/~download/LoGS/ 
Designated Security Officer         OpenPGP key: pub 1024D/31816D93    
HPC Systems Engineer III   UNM HPC  505.277.8210




reply via email to

[Prev in Thread] Current Thread [Next in Thread]