← Back to team overview

openstack team mailing list archive

secure logging in OpenStack

 

Hi all, I'm Paolo a research assistant at Polytechnic University of Turin.

I wrote a library that implement some security features for logging. In
a few words, the library generates a log files where all log entries are
linked through an hash chain. In this way it's possible to verify the
integrity of the log files. Now, I would to integrate functionalities
provided by my library in the OpenStack logging system.

From a rapid view of python logging module, I saw that its possible to
define custom logging handlers. My idea is to define a new handler as follow

   class SecureLogHandler(logging.Handler)

and to include it in the log module of OpenStack.

Is this a good approach?

There are some directives that I must follow (code styling, method
definition, ...)?

Thanks in advance for the replies!!! :-)

   Paolo

-- 
PAOLO SMIRAGLIA
Department of Control and Computer Engineering
Polytechnic University of Turin
Email: paolo.smiraglia@xxxxxxxxx

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Follow ups