| .. | .. |
|---|
| 15 | 15 | import javax.persistence.OneToMany; |
|---|
| 16 | 16 | import javax.persistence.Table; |
|---|
| 17 | 17 | |
|---|
| 18 | +import org.apache.logging.log4j.LogManager; |
|---|
| 19 | +import org.apache.logging.log4j.Logger; |
|---|
| 20 | + |
|---|
| 18 | 21 | import com.fasterxml.jackson.annotation.JsonAutoDetect; |
|---|
| 19 | 22 | import com.fasterxml.jackson.annotation.JsonIgnore; |
|---|
| 20 | 23 | import com.fasterxml.jackson.annotation.JsonInclude; |
|---|
| .. | .. |
|---|
| 33 | 36 | @NamedQuery(name = "list-applications", query = "SELECT a FROM Application a") |
|---|
| 34 | 37 | }) |
|---|
| 35 | 38 | public class Application implements Serializable { |
|---|
| 39 | + |
|---|
| 40 | + private static final Logger LOG = LogManager.getLogger(Application.class); |
|---|
| 36 | 41 | |
|---|
| 37 | 42 | private static final long serialVersionUID = 1L; |
|---|
| 38 | 43 | |
|---|
| .. | .. |
|---|
| 85 | 90 | } |
|---|
| 86 | 91 | |
|---|
| 87 | 92 | public Date getCreationTimestamp() { |
|---|
| 93 | + LOG.info("APP {} TS: {}", this.id, this.creationTimestamp); |
|---|
| 88 | 94 | return creationTimestamp; |
|---|
| 89 | 95 | } |
|---|
| 90 | 96 | |
|---|