archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marti...@apache.org
Subject [archiva-redback-components-spring-quartz] 35/46: fix logging
Date Mon, 09 Apr 2018 20:09:57 GMT
This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-quartz.git

commit 308bde4748aa10f8f13f8c0ebcb70c5e242a0557
Author: Olivier Lamy <olamy@apache.org>
AuthorDate: Mon Dec 2 02:55:24 2013 +0000

    fix logging
    
    git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk@1546880
13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/archiva/redback/components/scheduler/JobOne.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/archiva/redback/components/scheduler/JobOne.java b/src/test/java/org/apache/archiva/redback/components/scheduler/JobOne.java
index 681d002..19de8a9 100644
--- a/src/test/java/org/apache/archiva/redback/components/scheduler/JobOne.java
+++ b/src/test/java/org/apache/archiva/redback/components/scheduler/JobOne.java
@@ -41,8 +41,7 @@ public class JobOne
         throws JobExecutionException
     {
         logger.info(
-            "    --- Testing Scheduler Component\n    --- " + context.getJobDetail().getDescription()
+ " executed.["
-                + new Date() + "]" );
+            "    --- Testing Scheduler Component  --- {} executed.[{}]", context.getJobDetail().getDescription(),
new Date() );
 
     }
 

-- 
To stop receiving notification emails like this one, please contact
martin_s@apache.org.

Mime
View raw message