diff options
author | Rob Harrop <rob@rabbitmq.com> | 2011-03-23 15:34:23 +0000 |
---|---|---|
committer | Rob Harrop <rob@rabbitmq.com> | 2011-03-23 15:34:23 +0000 |
commit | 2cb7c4257df8c2ae2407779a4e4ca8b09b6b9782 (patch) | |
tree | 1bae8bac68cb832a76b088e1b475d091eb29ec53 /src/rabbit_error_logger.erl | |
parent | 1174f4ffbef7a9c1b108f3ce8e60152eeb8cacd0 (diff) | |
download | rabbitmq-server-2cb7c4257df8c2ae2407779a4e4ca8b09b6b9782.tar.gz |
Switched to now_ms()
Diffstat (limited to 'src/rabbit_error_logger.erl')
-rw-r--r-- | src/rabbit_error_logger.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_error_logger.erl b/src/rabbit_error_logger.erl index 33dfcef9..5f53e430 100644 --- a/src/rabbit_error_logger.erl +++ b/src/rabbit_error_logger.erl @@ -70,6 +70,7 @@ publish1(RoutingKey, Format, Data, LogExch) -> {ok, _RoutingRes, _DeliveredQPids} = rabbit_basic:publish(LogExch, RoutingKey, false, false, none, #'P_basic'{content_type = <<"text/plain">>, - timestamp = rabbit_misc:timestamp()}, + timestamp = + rabbit_misc:now_ms() div 1000}, list_to_binary(io_lib:format(Format, Data))), ok. |