New logging method
Improved some details