[logback-dev] [JIRA] Commented: (LBCLASSIC-43) Application name for a web-app
Ceki Gulcu (JIRA)
noreply-jira at qos.ch
Wed Dec 3 21:29: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 commented on LBCLASSIC-43:
-------------------------------------
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