Skip to content
Snippets Groups Projects
Commit 2d21c501 authored by OZGCloud's avatar OZGCloud
Browse files

prj42 Log configured default charset

parent c5e086a9
No related branches found
No related tags found
No related merge requests found
package de.itvsh.ozg.pluto;
import java.nio.charset.Charset;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;
import lombok.extern.log4j.Log4j2;
@Log4j2
@Component
class LogRunner implements ApplicationListener<ContextRefreshedEvent> {
@Override
public void onApplicationEvent(ContextRefreshedEvent event) {
LOG.info("Standard Charset: " + Charset.defaultCharset());
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment