Timestamp in log files should appear before the message
|Reported by:||anush||Owned by:|
The timestamp in all the log files (logger_message, logger_error, logger_exception) are currently place after the actual message. This is due to the fact the the Piwik_Log_Formatter_FileFormatter implodes the $event array and just writes it to the file without placing the 'timestamp' item ahead of others.
I propose putting the timestamp in front so that its easier for auditing/debugging purposes.
I've attached a patch file with my proposed change.