12345678910111213141516171819202122232425262728293031 |
- # 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
|