-
1. Re: Windows: no log records in server.log
juergen.zimmermann Jun 29, 2011 5:23 AM (in response to juergen.zimmermann)OK, I found the reason: in standalone.xml periodic-rotating-file-handler has the level INFO. Is this considered to be a useful default value for a log file?
-
2. Re: Windows: no log records in server.log
jaikiran Jun 29, 2011 5:26 AM (in response to juergen.zimmermann)Juergen Zimmermann wrote:
OK, I found the reason: in standalone.xml periodic-rotating-file-handler has the level INFO. Is this considered to be a useful default value for a log file?
INFO for server.log, as a default, looks good to me.
-
3. Re: Windows: no log records in server.log
juergen.zimmermann Jun 30, 2011 7:39 AM (in response to jaikiran)I don't agree. In jboss-logging.xml in JBoss 6 there is periodic-rotating-file-handler declared: no log level is there. As a consequence a developer (like me) could produce log records of level e.g. DEBUG, and the log records are in server.log.
If a developer does the same with JBoss 7, then the log records are NOT in server.log - unless the log level for periodic-rotating-file-handler in standalone.xml is changed from INFO to e.g. DEBUG.
-
4. Re: Windows: no log records in server.log
jaikiran Jun 30, 2011 7:45 AM (in response to juergen.zimmermann)Personally, I don't mind having server.log at INFO level by default and change it to DEBUG whenever I want DEBUG level logs. But I don't do much application development these days so can't comment on whether DEBUG should be default. Raise a Enhancement request in the AS7 JIRA and add a brief explanation about your request there. Or you can point to this thread too.