[jboss-jira] [JBoss JIRA] Closed: (JBAS-4361) java.util.logging.FileHandler.formatter cannot be changed to java.util.logging.SimpleFormatter

Wolfgang Knauf (JIRA) jira-events at lists.jboss.org
Sun Oct 21 09:36:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBAS-4361?page=all ]

Wolfgang Knauf closed JBAS-4361.
--------------------------------

    Resolution: Rejected

Yes, you are right, there was a space. I'm ashamed of not seeing it !

> java.util.logging.FileHandler.formatter cannot be changed to java.util.logging.SimpleFormatter
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBAS-4361
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4361
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Logging
>    Affects Versions: JBossAS-4.2.0.CR2
>         Environment: JDK is 1.5.0_11-b03
>            Reporter: Wolfgang Knauf
>         Assigned To: Scott M Stark
>            Priority: Minor
>
> I tried to create a plain text log output with this logging.properties file:
> handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
> .level= INFO
> java.util.logging.FileHandler.pattern = c:/temp/logfile.log 
> java.util.logging.FileHandler.level = INFO
> java.util.logging.FileHandler.limit = 50000
> java.util.logging.FileHandler.count = 1
> java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter 
> java.util.logging.ConsoleHandler.level = INFO
> java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
> I startup the server with this commandline:
> run.bat -c default -Djava.util.logging.config.file=c:/temp/logging.properties
> The log file is placed in c:\temp\logfile.log and contains my output, but it is in XML, not in Simple format. Console output is in SimpleFormat as expected.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list