Search in sources :

Example 11 with LoggingEvent

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

the class CollectorConfiguration 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 12 with LoggingEvent

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

the class FlinkConfiguration method log.

@PostConstruct
public void log() {
    this.logger.info("{}", logger);
    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) PostConstruct(javax.annotation.PostConstruct)

Example 13 with LoggingEvent

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

the class StatReceiverConfiguration 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)

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