New logging function
Temporary logging to second loging database