[ 
https://issues.apache.org/jira/browse/OPENEJB-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

karan singh malhi updated OPENEJB-669:
--------------------------------------

    Attachment: Openejb-669-latest.patch

Ignore Openejb-669.patch and apply this patch instead. 
Here is a basic overview of what changes are part of this patch :
1. Added org.apache.openejb.server.Hsql.HsqlPrintWriter, which basically writes 
to the openejb.log file. This is on the same lines as the Log4jPrintWriter in 
the org.apache.openejb.util package.
2. Added a new LogCategory named Openejb.hsql
3. Updated logging.properties and embedded.logging.properties with the new 
LogCategory defined in 2 above
4. Updated org.apache.openejb.server.Hsql.HsqlService to do the following:
    a. set the silent property of the server to true
    b. set the HsqlServer logWriter to an instance of HsqlPrintWriter
    c. set the HsqlServer errWriter to an instance of HsqlPrintWriter

> remove hsql log messages from server startup
> --------------------------------------------
>
>                 Key: OPENEJB-669
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-669
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: server
>            Reporter: karan singh malhi
>         Attachments: Openejb-669-latest.patch, openejb-669.patch
>
>
> When openejb server starts, HSQL dirties the console output with its own log 
> messages. Remove those messages

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to