Hi there,

 

Well, I was just beginning playing around with log4perl one week ago.

I used to work with my own perl native libs for logging. It was not so
efficient than yours but brings a solution to most of my developments.

I found the log4perl very handy and convenient for my dev that I can't keep
playing with it now!

 

My question today is quite simple : What about OLF support ?

 

I would like to use log4perl in order to generate logs compliant with Open
Log Format definition. 

Currently, I use a dedicated layout in order to format my log records. It
works fine but I have only one thing I can not solve for the moment.

Who can I generate an OLF compliant header for my log ?

 

Well the OLF specifications gives the following description for a compliant
OLF header :

 

#Software: eIQ Open Log Format (OLF)

#Version: 1.1

#Date: 02-18-2007 12:14:25 300

#Fields: date time gmt-offset internalIP externalIP virtualdevice

device-id type subtype priority prioritycode direction

username eventcode eventcategory protocol rule status count action

sent-bytes recvd-bytes src-info dst-info vpn-info virus-info

attack-info webfilter-info spam-info config-info message

Custom-data Nativelog

 

The #Version line gives the version of OLF, which should always be 1.1.
NOTE: Software that

processes OLF should check this line, and reject the file if the version is
not one it understands.

 

The #Date line gives the date and time the log file was started and the time
zone (in GMT minutes).

 

The #Fields line lists the fields of each line, as a reminder to the reader.
NOTE: The fields may

 

How can I manage these requirements with log4perl?

If not available yet, did you plan to support this format in further version
of your lib?

 

Thank you by advance for your help,

And one more time, thank you for this very handy and flexible lib.

 

Denis LAMBRET

 

[EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to