blob: 3e100641181e6ac5edf3ba38d241634b2aeb3722 (
plain)
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
|
# sample logging-properties for application tntnet
# put this in tntnet.properties and use:
# log_init("tntnet.properties");
# in your application to initialize logging
#
# define categories with:
# log_define("some.category")
# this defines a static function, so you must put it outside other functions.
# you can define a category per file or a category per namespace.
#
# print logging-messages with:
# log_fatal("some fatal message");
# log_error("some error message");
# log_warn("some warn message");
# log_info("some info message");
# log_debug("some debug message");
#
rootLogger=INFO
# define logger-categories
logger.tntnet=INFO
file=/var/log/tntnet.log
maxfilesize=1MB
maxbackupindex=10
flushdelay=100 # delay write in milliseconds
#host=localhost:1234 # send log-messages with udp
#disabled=1 # disable logging
#logprocess=1 # log in separate process
#logprocesuser=someuser # change to user in log process
#logprocesgroup=somegroup # change to group in log process
|