fixed addLog and associated Log classes issue with static inheritance