Search in sources :

Example 6 with LoggingEvent

use of com.navercorp.pinpoint.common.server.config.LoggingEvent in project pinpoint by naver.

the class ScatterConfiguration method log.

@PostConstruct
public void log() {
    logger.info("{}", this);
    AnnotationVisitor<Value> visitor = new AnnotationVisitor<>(Value.class);
    visitor.visit(this, new LoggingEvent(logger));
}
Also used : LoggingEvent(com.navercorp.pinpoint.common.server.config.LoggingEvent) Value(org.springframework.beans.factory.annotation.Value) AnnotationVisitor(com.navercorp.pinpoint.common.server.config.AnnotationVisitor) PostConstruct(javax.annotation.PostConstruct)

Example 7 with LoggingEvent

use of com.navercorp.pinpoint.common.server.config.LoggingEvent in project pinpoint by naver.

the class CollectorClusterConfig method log.

@PostConstruct
public void log() {
    logger.info("{}", this);
    AnnotationVisitor<Value> visitor = new AnnotationVisitor<>(Value.class);
    visitor.visit(this, new LoggingEvent(logger));
}
Also used : LoggingEvent(com.navercorp.pinpoint.common.server.config.LoggingEvent) Value(org.springframework.beans.factory.annotation.Value) AnnotationVisitor(com.navercorp.pinpoint.common.server.config.AnnotationVisitor) PostConstruct(javax.annotation.PostConstruct)

Example 8 with LoggingEvent

use of com.navercorp.pinpoint.common.server.config.LoggingEvent in project pinpoint by naver.

the class AgentBaseDataReceiverConfiguration method log.

@PostConstruct
public void log() {
    logger.info("{}", this);
    AnnotationVisitor<Value> visitor = new AnnotationVisitor<>(Value.class);
    visitor.visit(this, new LoggingEvent(logger));
    validate();
}
Also used : LoggingEvent(com.navercorp.pinpoint.common.server.config.LoggingEvent) Value(org.springframework.beans.factory.annotation.Value) AnnotationVisitor(com.navercorp.pinpoint.common.server.config.AnnotationVisitor) PostConstruct(javax.annotation.PostConstruct)

Example 9 with LoggingEvent

use of com.navercorp.pinpoint.common.server.config.LoggingEvent in project pinpoint by naver.

the class SpanReceiverConfiguration method log.

@PostConstruct
public void log() {
    logger.info("{}", this);
    AnnotationVisitor<Value> visitor = new AnnotationVisitor<>(Value.class);
    visitor.visit(this, new LoggingEvent(logger));
}
Also used : LoggingEvent(com.navercorp.pinpoint.common.server.config.LoggingEvent) Value(org.springframework.beans.factory.annotation.Value) AnnotationVisitor(com.navercorp.pinpoint.common.server.config.AnnotationVisitor) PostConstruct(javax.annotation.PostConstruct)

Example 10 with LoggingEvent

use of com.navercorp.pinpoint.common.server.config.LoggingEvent in project pinpoint by naver.

the class BatchConfiguration method afterLog.

private void afterLog() {
    logger.info("after setup field : {}", this);
    AnnotationVisitor<Value> annotationVisitor = new AnnotationVisitor<>(Value.class);
    annotationVisitor.visit(this, new LoggingEvent(this.logger));
}
Also used : LoggingEvent(com.navercorp.pinpoint.common.server.config.LoggingEvent) Value(org.springframework.beans.factory.annotation.Value) AnnotationVisitor(com.navercorp.pinpoint.common.server.config.AnnotationVisitor)

Aggregations

AnnotationVisitor (com.navercorp.pinpoint.common.server.config.AnnotationVisitor)13 LoggingEvent (com.navercorp.pinpoint.common.server.config.LoggingEvent)13 Value (org.springframework.beans.factory.annotation.Value)13 PostConstruct (javax.annotation.PostConstruct)11