Behind #define LOGGING: Correct usage of now() to replacement unix_time().
Merge pull request #640 from FullName/logging_fixes

Behind #define LOGGING: Correct usage of now() to replacement unix_time().