Commit 7ce177acdb1ca54c0325ae523164edf1e57ead13
1 parent
c995db1a
Exists in
master
Ajuste no nível do log
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/transaction/TransactionalInterceptor.java
| @@ -114,7 +114,7 @@ public class TransactionalInterceptor implements Serializable { | @@ -114,7 +114,7 @@ public class TransactionalInterceptor implements Serializable { | ||
| 114 | 114 | ||
| 115 | Object result = null; | 115 | Object result = null; |
| 116 | try { | 116 | try { |
| 117 | - getLogger().fine(getBundle().getString("transactional-execution", ic.getMethod().toGenericString())); | 117 | + getLogger().finer(getBundle().getString("transactional-execution", ic.getMethod().toGenericString())); |
| 118 | result = ic.proceed(); | 118 | result = ic.proceed(); |
| 119 | 119 | ||
| 120 | } catch (Exception cause) { | 120 | } catch (Exception cause) { |
| @@ -134,7 +134,7 @@ public class TransactionalInterceptor implements Serializable { | @@ -134,7 +134,7 @@ public class TransactionalInterceptor implements Serializable { | ||
| 134 | if (!transaction.isActive()) { | 134 | if (!transaction.isActive()) { |
| 135 | transaction.begin(); | 135 | transaction.begin(); |
| 136 | getTransactionInfo().markAsOwner(); | 136 | getTransactionInfo().markAsOwner(); |
| 137 | - getLogger().info(getBundle().getString("begin-transaction")); | 137 | + getLogger().fine(getBundle().getString("begin-transaction")); |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | getTransactionInfo().incrementCounter(); | 140 | getTransactionInfo().incrementCounter(); |
| @@ -153,7 +153,7 @@ public class TransactionalInterceptor implements Serializable { | @@ -153,7 +153,7 @@ public class TransactionalInterceptor implements Serializable { | ||
| 153 | 153 | ||
| 154 | if (rollback) { | 154 | if (rollback) { |
| 155 | transaction.setRollbackOnly(); | 155 | transaction.setRollbackOnly(); |
| 156 | - getLogger().info(getBundle().getString("transaction-marked-rollback", cause.getMessage())); | 156 | + getLogger().fine(getBundle().getString("transaction-marked-rollback", cause.getMessage())); |
| 157 | } | 157 | } |
| 158 | } | 158 | } |
| 159 | } | 159 | } |
| @@ -169,18 +169,18 @@ public class TransactionalInterceptor implements Serializable { | @@ -169,18 +169,18 @@ public class TransactionalInterceptor implements Serializable { | ||
| 169 | transaction.rollback(); | 169 | transaction.rollback(); |
| 170 | getTransactionInfo().clear(); | 170 | getTransactionInfo().clear(); |
| 171 | 171 | ||
| 172 | - getLogger().info(getBundle().getString("transaction-rolledback")); | 172 | + getLogger().fine(getBundle().getString("transaction-rolledback")); |
| 173 | 173 | ||
| 174 | } else { | 174 | } else { |
| 175 | transaction.commit(); | 175 | transaction.commit(); |
| 176 | getTransactionInfo().clear(); | 176 | getTransactionInfo().clear(); |
| 177 | 177 | ||
| 178 | - getLogger().info(getBundle().getString("transaction-commited")); | 178 | + getLogger().fine(getBundle().getString("transaction-commited")); |
| 179 | } | 179 | } |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | } else if (getTransactionInfo().getCounter() == 0 && !transaction.isActive()) { | 182 | } else if (getTransactionInfo().getCounter() == 0 && !transaction.isActive()) { |
| 183 | - getLogger().info(getBundle().getString("transaction-already-finalized")); | 183 | + getLogger().fine(getBundle().getString("transaction-already-finalized")); |
| 184 | } | 184 | } |
| 185 | } | 185 | } |
| 186 | 186 |