With the property LogLevel you can control if the OnLog will be fired or not.
If you want to log the internal OPC calls then you have to set LogLevel to following values:
1: normal logging (the property Detail is empty)
2: detailed logging (the property Detail is filled out)
LogLevel and the OnLog event is currently only supported by OPC UA.
OnLog event, TdOPCLogMsg