Add timestamps to log messages