Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

log4j2.properties file need to save in spring boot application

log4j2.Properties
status = error
name = PropertiesConfig
 
filters = threshold
 
filter.threshold.type = ThresholdFilter
filter.threshold.level = debug
 
appenders = console
 
appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
 
rootLogger.level = debug
rootLogger.appenderRefs = stdout
rootLogger.appenderRef.stdout.ref = STDOUT
Comment

PREVIOUS NEXT
Code Example
Java :: javadoc link 
Java :: java division of 2 numbers with decimal places 
Java :: import class from package java 
Java :: explain java coding standards for classes 
Java :: void setup 
Java :: use of getclass()in string 
Java :: connection data base java code 
Java :: polimorfismo java ejemplo 
Java :: Mila Kunis 
Java :: android cella 20*20 java 
Java :: java non-breajubg soace remove 
Java :: Java StringBuilder filter same lines 
Sql :: magento 2 order delete from db 
Sql :: mysql create user with remote access 
Sql :: ADD COLOUNS CREATED AND UPDATED AT IN MYSQL 
Sql :: identity_insert is set to off 
Sql :: how to get notinteger value in sql 
Sql :: oracle get current schema 
Sql :: postgresql generate uuid 
Sql :: sql server get users 
Sql :: mysql grant all privileges to user from any host 
Sql :: mysql find tables with column name 
Sql :: oracle list procedures 
Sql :: alter foreign key 
Sql :: how to open postgresql in mac 
Sql :: postgres stop server mac 
Sql :: microsoft sql server extract hour and minute from datetime 
Sql :: postgresql convert text to float 
Sql :: oracle truncate partition 
Sql :: sql eliminare un record 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =