[Ace-users] [ace-users] [usage question] ACE_Log_Msg / ACE_Log_Record - no allocator

Bogdan Graur bgraur at gmail.com
Sun Nov 25 05:12:17 CST 2007


Hello all,

I am new to ACE and found no way to specify the allocator for 
ACE_Log_Record internal buffer.
On my understanding each time you log something using ACE_Log_Msg 
another ACE_Log_Record is created which in turn creates its underlying 
data (4 KB) on the heap. This can happen very often and may have a 
negative impact on the overall performance of the application.

Is there a way to control the allocation of ACE_Log_Record data without 
overloading the global new operator?

Thanks for the help!

Bogdan



More information about the Ace-users mailing list