[logback-dev] [JIRA] Issue Comment Edited: (LBCLASSIC-43) Application name for a web-app

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Thu Dec 4 17:32:14 CET 2008


    [ http://jira.qos.ch/browse/LBCLASSIC-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10941#action_10941 ] 

Ceki Gulcu edited comment on LBCLASSIC-43 at 12/4/08 5:32 PM:
--------------------------------------------------------------

There are several ways to read this issue. One is to add an HttpServletFilter for invoking MDC.put("applicationName","whatever") which seems noisy. Another way to look at this, is to to set the name of the logger context from a configuration file. For example,

<configuration...
  <contextName>newName</contextName>
</configration>



      was (Author: noreply.ceki at qos.ch):
    There are several ways to read this issue. One, is to add an HttpServletFilter for invoking MDC.put("applicationName","whatever") which seems noisy. Anothtr way to look at this, is to to set the name of the logger context from a configuration file. For example,

<configuration contextName="whatever">...</configration>


  
> Application name for a web-app
> ------------------------------
>
>                 Key: LBCLASSIC-43
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-43
>             Project: logback-classic
>          Issue Type: Improvement
>          Components: Other
>    Affects Versions: unspecified
>         Environment: Operating System: Windows
> Platform: PC
>            Reporter: Ceki Gulcu
>            Assignee: Logback dev list
>            Priority: Minor
>
> Logback should provide support for setting the application name of a web-app (or a JEE application) out of the box. The LoggingContext is a good place for this.
> See also:
> http://www.qos.ch/pipermail/logback-user/2008-March/000400.html

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

        


More information about the logback-dev mailing list