This repository was archived by the owner on Feb 17, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog4j.properties
More file actions
38 lines (34 loc) · 2.22 KB
/
Copy pathlog4j.properties
File metadata and controls
38 lines (34 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# src/resources/log4j.properties
# =============================================================================
# Customers API Lite microservice prototype (Clojure port). Version 0.3.0
# =============================================================================
# A daemon written in Clojure, designed and intended to be run
# as a microservice, implementing a special Customers API prototype
# with a smart yet simplified data scheme.
# =============================================================================
# (See the LICENSE file at the top of the source tree.)
#
# --- Loggers configuration.
log4j.rootLogger=INFO,stdout,logfile
log4j.logger.customers.api-lite=DEBUG
# --- Appenders configuration.
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{[yyyy-MM-dd][HH:mm:ss]} [%-5p] %m%n
#og4j.appender.stdout.layout.ConversionPattern=%d{[yyyy-MM-dd][HH:mm:ss]} [%-5p][%-10.10t][%-15.15c{1}] %m%n
# ^ ^ ^ ^ ^ ^ ^
# | | | | | | |
# --- Date and time ------------------------------------+----------+ | | | | |
# --- Priority (INFO, DEBUG, etc.) ------------------------------------------+ | | | |
# --- Thread name -------------------------------------------------------------------+ | | |
# --- Category name (logger class name) --------------------------------------------------------+ | |
# --- The logging message itself ------------------------------------------------------------------------+ |
# --- Newline character -----------------------------------------------------------------------------------+
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=./log/customers-api-lite.log
log4j.appender.logfile.MaxFileSize=200KB
log4j.appender.logfile.MaxBackupIndex=10
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d{[yyyy-MM-dd][HH:mm:ss]} [%-5p] %m%n
# vim:set nu et ts=4 sw=4: