| .. | .. |
|---|
| 12 | 12 | import javax.persistence.NamedQuery; |
|---|
| 13 | 13 | import javax.persistence.Table; |
|---|
| 14 | 14 | |
|---|
| 15 | +import org.apache.logging.log4j.LogManager; |
|---|
| 16 | +import org.apache.logging.log4j.Logger; |
|---|
| 17 | + |
|---|
| 15 | 18 | import com.fasterxml.jackson.annotation.JsonAutoDetect; |
|---|
| 16 | 19 | import com.fasterxml.jackson.annotation.JsonIgnore; |
|---|
| 17 | 20 | import com.fasterxml.jackson.annotation.JsonInclude; |
|---|
| .. | .. |
|---|
| 30 | 33 | @NamedQuery(name = "list-application-metadata", query = "SELECT a FROM ApplicationMetadata a where a.application.id = :applicationId") |
|---|
| 31 | 34 | }) |
|---|
| 32 | 35 | public class ApplicationMetadata implements Serializable { |
|---|
| 36 | + |
|---|
| 37 | + private static final Logger LOG = LogManager.getLogger(ApplicationMetadata.class); |
|---|
| 33 | 38 | |
|---|
| 34 | 39 | private static final long serialVersionUID = 1L; |
|---|
| 35 | 40 | |
|---|
| .. | .. |
|---|
| 68 | 73 | } |
|---|
| 69 | 74 | |
|---|
| 70 | 75 | public Date getCreationTimestamp() { |
|---|
| 76 | + LOG.info("APP_MD (app: {}) {} TS: {}", this.application.getId(), this.key, this.creationTimestamp); |
|---|
| 71 | 77 | return creationTimestamp; |
|---|
| 72 | 78 | } |
|---|
| 73 | 79 | |
|---|