-
Notifications
You must be signed in to change notification settings - Fork 7
/
javaLogger.properties
60 lines (56 loc) · 2.33 KB
/
javaLogger.properties
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
################################################################
#Framework Default configuration #
#Do not delete this section, but you can modify it! #
#it is JavaLogger's reference when user omit some parameters #
################################################################
#Global levels activation
LevelINFO=truE
LevelDEBUG=true
LevelWARN=TRUE
LevelERROR=true
LevelTrace=true
#Default output Handlers
#File Handler:
FileHandler=true
LogFilePath=D:/logs/javaLogger.log
#O means Infinite, other forced the limit for rollback (in Ko)
LogFileSize=0
#Console Handler
ConsoleHandler=true
#DB Handler
DataBaseHandler=false
#Default Formater Configuration
ShowLEVEL=true
ShowDATE=truE
ShowFQCN=true
Separator=|
###############################################################
#END of framework Default Configuration #
###############################################################
###############################################################
#Logger specific configuration #
#You can add an unlimited logger specific configuration here #
#Note that, if you omit a parameter for a logger, the default #
#value for that parameter will be use. #
#Loggers configured here overwrite java configuration #
###############################################################
#The first line in this section list all available loggers
#loggers=logger1, logger2, ....
#You can configured you declared loggers on the first line by this model
#logger1.Name=com.foo
#logger1.Level=TRACE
#logger1.Handlers=com.handlers.handler1,com.handlers.handler2, ...
#logger1.LogFilePath=my/log/file/path
#logger1.LogFileSize=2048 #0 means infinite
#logger1.Formater=com.formater.Myformater
#Example
loggers=esiea, demkada
#Example of a fully configured logger
esiea.Name=fr.esiea.JavaLogger
esiea.Level=DEBUG
esiea.Handlers=org.thesoftwarecraftsman.logging.javaLogger.modules.output.handler.ConsoleHandler, org.thesoftwarecraftsman.logging.javaLogger.modules.output.handler.FileHandler
esiea.LogFilePath=D:/logs/log_esiea.log
esiea.LogFileSize=5
esiea.Formater= org.thesoftwarecraftsman.logging.javaLogger.modules.output.formater.DefaultFormater
#Example of only declared logger, this logger will use default config or java Config
demkada.Name=com.demkada.test