1
0

tntnet.properties 1000 B

12345678910111213141516171819202122232425262728293031
  1. # sample logging-properties for application tntnet
  2. # put this in tntnet.properties and use:
  3. # log_init("tntnet.properties");
  4. # in your application to initialize logging
  5. #
  6. # define categories with:
  7. # log_define("some.category")
  8. # this defines a static function, so you must put it outside other functions.
  9. # you can define a category per file or a category per namespace.
  10. #
  11. # print logging-messages with:
  12. # log_fatal("some fatal message");
  13. # log_error("some error message");
  14. # log_warn("some warn message");
  15. # log_info("some info message");
  16. # log_debug("some debug message");
  17. #
  18. rootLogger=INFO
  19. # define logger-categories
  20. logger.tntnet=INFO
  21. file=/var/log/tntnet.log
  22. maxfilesize=1MB
  23. maxbackupindex=10
  24. flushdelay=100 # delay write in milliseconds
  25. #host=localhost:1234 # send log-messages with udp
  26. #disabled=1 # disable logging
  27. #logprocess=1 # log in separate process
  28. #logprocesuser=someuser # change to user in log process
  29. #logprocesgroup=somegroup # change to group in log process