[Openswan Users] openswan logging functions

Paul Wouters paul at xelerance.com
Sun Dec 5 14:07:13 EST 2010


On Sat, 4 Dec 2010, Phuoc Trinh wrote:

> I am investigating about how OSW logging works. I see that there are 2 main sets of function for logging, they are log.h and oswlog.h. The content of them
> looks like the same so I wonder if they are doing the same thing. If not, what is the most difference between them? I appreciate if you can give me some
> clarification as soon as possible. The time for me is about over!

They don't look the same to me.

oswlog.h is for files that want to do certain logging based on functions in log.c.

log.h is for the log.c logging code itself.

Paul


More information about the Users mailing list