Spring Boot Actuator hides property values in env endpoint

By default the /env endpoint will hide the value of any property with a key that, ignoring case, ends with password, secret, or key. You can customize this using the endpoints.env.keys-to-sanitize property. The value of this property should be a comma-separated list of suffixes or regexes to match against property names. For example, if you … Read more

How to add user defined regions with folding in Notepad++?

For version 6.5.5 and above: Under the menu “Language” there is a menuitem called “Define your language…“ In the tab “Folder & Default” is a group called “Folding in code” where you can enter an “Open”- and a “Close”-Keyword. For versions older than 6.5.5: Under the menu “View” there is a menuitem called “User-Defined Dialog…“ … Read more

What is the difference between a Docker Container and an Ansible Playbook?

There are many reasons most articles talk about using them together. Think of Ansible as a way of installing and configuring a machine where you can go back and tweak any individual step of that install and configuration in the future. You can then scale that concept out to many machines as you are able … Read more

How do I configure logback to gzip my logs automatically?

Try to do like this, Hope it will work for you. <appender name=”FILE” class=”ch.qos.logback.core.rolling.RollingFileAppender”> <File>${LOGDIR}/filename.log</File> <rollingPolicy class=”ch.qos.logback.core.rolling.TimeBasedRollingPolicy”> <!– rollover daily –> <FileNamePattern>${LOGDIR}/file.%d{yyyy-MM-dd}.%i.log.gz </FileNamePattern> <!– keep 30 days’ worth of history –> <MaxHistory>30</MaxHistory> <!– or whenever the file size reaches 10MB –> <timeBasedFileNamingAndTriggeringPolicy class=”ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP”> <maxFileSize>10MB</maxFileSize> </timeBasedFileNamingAndTriggeringPolicy> </rollingPolicy> <encoder class=”ch.qos.logback.classic.encoder.PatternLayoutEncoder”> <Pattern>%date [%thread] %-5level %logger{36} – %msg%n </Pattern> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)