Skip to content

Commit

Permalink
change the agent log level to millisecond (apache#1580)
Browse files Browse the repository at this point in the history
* Fix bug stop stopSpan when not createSpan

* Fix bug stop stopSpan when not createSpan

* change the agent log level to millisecond
  • Loading branch information
IanCao authored and wu-sheng committed Aug 23, 2018
1 parent 26f88ba commit 31e4ceb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private String replaceParam(String message, Object... parameters) {

String format(LogLevel level, String message, Throwable t) {
return StringUtil.join(' ', level.name(),
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()),
new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS").format(new Date()),
targetClass.getSimpleName(),
": ",
message,
Expand Down

0 comments on commit 31e4ceb

Please sign in to comment.