You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by "Jürgen Hoffmann (JIRA)" <ji...@apache.org> on 2006/11/02 01:45:16 UTC

[jira] Created: (TRB-34) Make Turbine support log4j.xml File Format

Make Turbine support log4j.xml File Format
------------------------------------------

                 Key: TRB-34
                 URL: http://issues.apache.org/jira/browse/TRB-34
             Project: Turbine
          Issue Type: Improvement
    Affects Versions: Core 2.3.2
            Reporter: Jürgen Hoffmann


Integrate the DomConfigurator into Turbine. I will provide a patch tomorrow.
Turbine only supports log4j.properties style Configuration. I for Example love the XML based Configuration, because I can use Filters within the Appenders, to log everything on the local filesystem of the application, but the errors are sent by mail. Usually, you can not do this with the properties based configuration. (At least as far as I know)

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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


[jira] Assigned: (TRB-34) Make Turbine support log4j.xml File Format

Posted by "Jürgen Hoffmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TRB-34?page=all ]

Jürgen Hoffmann reassigned TRB-34:
----------------------------------

    Assignee: Jürgen Hoffmann

> Make Turbine support log4j.xml File Format
> ------------------------------------------
>
>                 Key: TRB-34
>                 URL: http://issues.apache.org/jira/browse/TRB-34
>             Project: Turbine
>          Issue Type: Improvement
>    Affects Versions: Core 2.3.2
>            Reporter: Jürgen Hoffmann
>         Assigned To: Jürgen Hoffmann
>         Attachments: log4j.xml, log4j_xml_patch.txt, log4j_xml_trunk_patch.txt
>
>
> Integrate the DomConfigurator into Turbine. I will provide a patch tomorrow.
> Turbine only supports log4j.properties style Configuration. I for Example love the XML based Configuration, because I can use Filters within the Appenders, to log everything on the local filesystem of the application, but the errors are sent by mail. Usually, you can not do this with the properties based configuration. (At least as far as I know)

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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


[jira] Updated: (TRB-34) Make Turbine support log4j.xml File Format

Posted by "Jürgen Hoffmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TRB-34?page=all ]

Jürgen Hoffmann updated TRB-34:
-------------------------------

    Attachment: log4j.xml

Example XML Configuration File, which works great for me. The only Problem is that it is not possible to set the applicationRoot dynamically, as we do with the properties based configuration.

> Make Turbine support log4j.xml File Format
> ------------------------------------------
>
>                 Key: TRB-34
>                 URL: http://issues.apache.org/jira/browse/TRB-34
>             Project: Turbine
>          Issue Type: Improvement
>    Affects Versions: Core 2.3.2
>            Reporter: Jürgen Hoffmann
>         Attachments: log4j.xml, log4j_xml_patch.txt
>
>
> Integrate the DomConfigurator into Turbine. I will provide a patch tomorrow.
> Turbine only supports log4j.properties style Configuration. I for Example love the XML based Configuration, because I can use Filters within the Appenders, to log everything on the local filesystem of the application, but the errors are sent by mail. Usually, you can not do this with the properties based configuration. (At least as far as I know)

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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


[jira] Updated: (TRB-34) Make Turbine support log4j.xml File Format

Posted by "Jürgen Hoffmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TRB-34?page=all ]

Jürgen Hoffmann updated TRB-34:
-------------------------------

    Attachment: log4j_xml_patch.txt

Here is the patch against current T2.3.2

> Make Turbine support log4j.xml File Format
> ------------------------------------------
>
>                 Key: TRB-34
>                 URL: http://issues.apache.org/jira/browse/TRB-34
>             Project: Turbine
>          Issue Type: Improvement
>    Affects Versions: Core 2.3.2
>            Reporter: Jürgen Hoffmann
>         Attachments: log4j_xml_patch.txt
>
>
> Integrate the DomConfigurator into Turbine. I will provide a patch tomorrow.
> Turbine only supports log4j.properties style Configuration. I for Example love the XML based Configuration, because I can use Filters within the Appenders, to log everything on the local filesystem of the application, but the errors are sent by mail. Usually, you can not do this with the properties based configuration. (At least as far as I know)

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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


[jira] Updated: (TRB-34) Make Turbine support log4j.xml File Format

Posted by "Jürgen Hoffmann (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TRB-34?page=all ]

Jürgen Hoffmann updated TRB-34:
-------------------------------

    Attachment: log4j_xml_trunk_patch.txt

As I promised, here is the patch against trunk

> Make Turbine support log4j.xml File Format
> ------------------------------------------
>
>                 Key: TRB-34
>                 URL: http://issues.apache.org/jira/browse/TRB-34
>             Project: Turbine
>          Issue Type: Improvement
>    Affects Versions: Core 2.3.2
>            Reporter: Jürgen Hoffmann
>         Attachments: log4j.xml, log4j_xml_patch.txt, log4j_xml_trunk_patch.txt
>
>
> Integrate the DomConfigurator into Turbine. I will provide a patch tomorrow.
> Turbine only supports log4j.properties style Configuration. I for Example love the XML based Configuration, because I can use Filters within the Appenders, to log everything on the local filesystem of the application, but the errors are sent by mail. Usually, you can not do this with the properties based configuration. (At least as far as I know)

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

       

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org