2013-02-21 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Add the timestamp to the log. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
37e3942273
commit
831409807e
|
@ -1,3 +1,7 @@
|
|||
2013-02-21 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* modules/pandora_module_logevent.cc: Add the timestamp to the log.
|
||||
|
||||
2013-02-20 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* modules/pandora_module_logevent.cc: Retrieve extra event information
|
||||
|
|
|
@ -266,6 +266,11 @@ Pandora_Module_Logevent::getLogEvents (list<string> &event_list, unsigned char d
|
|||
|
||||
// Print additional information for log modules
|
||||
if (this->getModuleType() == TYPE_LOG) {
|
||||
|
||||
// Add the timestamp to the log (the previous timestamp will be stripped)
|
||||
event << "[Timestamp: ";
|
||||
event << timestamp;
|
||||
event << "]";
|
||||
|
||||
// Retrieve the event id
|
||||
event << "[ID: ";
|
||||
|
|
Loading…
Reference in New Issue