logging.properties 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #
  2. # JBoss, Home of Professional Open Source.
  3. # Copyright 2010, Red Hat, Inc., and individual contributors
  4. # as indicated by the @author tags. See the copyright.txt file in the
  5. # distribution for a full listing of individual contributors.
  6. #
  7. # This is free software; you can redistribute it and/or modify it
  8. # under the terms of the GNU Lesser General Public License as
  9. # published by the Free Software Foundation; either version 2.1 of
  10. # the License, or (at your option) any later version.
  11. #
  12. # This software is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. # Lesser General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Lesser General Public
  18. # License along with this software; if not, write to the Free
  19. # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. #
  22. # Additional logger names to configure (root logger is always configured)
  23. #loggers=org.jboss.whatever,org.jboss.foo
  24. # Root logger level
  25. logger.level=${jboss.boot.server.log.level:INFO}
  26. # Root logger handlers
  27. logger.handlers=BOOT_FILE,CONSOLE
  28. # Console handler configuration
  29. handler.CONSOLE=org.jboss.logmanager.handlers.ConsoleHandler
  30. handler.CONSOLE.properties=autoFlush
  31. handler.CONSOLE.level=${jboss.boot.server.log.console.level:INFO}
  32. handler.CONSOLE.autoFlush=true
  33. handler.CONSOLE.formatter=PATTERN
  34. # File handler configuration
  35. handler.BOOT_FILE=org.jboss.logmanager.handlers.PeriodicRotatingFileHandler
  36. handler.BOOT_FILE.level=DEBUG
  37. handler.BOOT_FILE.properties=autoFlush,fileName
  38. handler.BOOT_FILE.autoFlush=true
  39. handler.BOOT_FILE.fileName=${org.jboss.boot.log.file:boot.log}
  40. handler.BOOT_FILE.formatter=PATTERN
  41. # Formatter pattern configuration
  42. formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter
  43. formatter.PATTERN.properties=pattern
  44. formatter.PATTERN.pattern=%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n