diff options
Diffstat (limited to 'package/tntnet/files/tntnet.properties')
-rw-r--r-- | package/tntnet/files/tntnet.properties | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/tntnet/files/tntnet.properties b/package/tntnet/files/tntnet.properties new file mode 100644 index 000000000..3e1006411 --- /dev/null +++ b/package/tntnet/files/tntnet.properties @@ -0,0 +1,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 |