mirror of
https://github.com/rasilon/ujetl.git
synced 2026-04-11 18:39:30 +00:00
Tidy up inconsistent log formatting
This commit is contained in:
parent
a7d1a6077b
commit
e031dbd663
3 changed files with 6 additions and 6 deletions
2
pom.xml
2
pom.xml
|
|
@ -6,7 +6,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
|
|||
<groupId>com.rasilon.ujetl</groupId>
|
||||
<artifactId>CopyingApp</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>2.2.0</version>
|
||||
<version>2.2.1</version>
|
||||
<name>uJETL</name>
|
||||
<url>https://github.com/rasilon/ujetl</url>
|
||||
<properties>
|
||||
|
|
|
|||
|
|
@ -199,13 +199,13 @@ public class Job extends Thread {
|
|||
log.info(String.format("%s - Processing table: %s",jobName,name));
|
||||
}
|
||||
if(preTarget != null){
|
||||
log.info("Trying to execute preTarget SQL");
|
||||
log.info(String.format("%s - Trying to execute preTarget SQL",jobName));
|
||||
PreparedStatement s = dConn.prepareStatement(preTarget);
|
||||
s.executeUpdate();
|
||||
s.close();
|
||||
dConn.commit();
|
||||
}else{
|
||||
log.info("No preTarget; skipping.");
|
||||
log.info(String.format("%s - No preTarget; skipping.",jobName));
|
||||
}
|
||||
|
||||
log.debug("Trying to execute: "+key);
|
||||
|
|
@ -245,13 +245,13 @@ public class Job extends Thread {
|
|||
c.join();
|
||||
|
||||
if(postTarget != null){
|
||||
log.info("Trying to execute postTarget SQL");
|
||||
log.info(String.format("%s - Trying to execute postTarget SQL",jobName));
|
||||
PreparedStatement s = dConn.prepareStatement(postTarget);
|
||||
s.executeUpdate();
|
||||
s.close();
|
||||
dConn.commit();
|
||||
}else{
|
||||
log.info("No postTarget; skipping.");
|
||||
log.info(String.format("%s - No postTarget; skipping.",jobName));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
Summary: Java app to facilitate moving data between databases.
|
||||
Name: uJETL
|
||||
Version: 2.2.0
|
||||
Version: 2.2.1
|
||||
Release: 1
|
||||
Group: Applications/Database
|
||||
License: All rights reserved.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue