You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2009/04/13 21:11:29 UTC
DO NOT REPLY [Bug 47018] New: application redirection to context log
(swallowOutput) does not work if context is loaded on startup
https://issues.apache.org/bugzilla/show_bug.cgi?id=47018
Summary: application redirection to context log (swallowOutput)
does not work if context is loaded on startup
Product: Tomcat 5
Version: 5.5.25
Platform: Sun
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: plinio.nospam@gmail.com
Web Application standard output and eror (System.out and System.err)
redirection to Context Log (activated by <Context swallowOutput="true">) does
NOT work when:
Servlet is loaded on tomcat startup i.e. when in web.xml you have
<load-on-startup>1</load-on-startup>
for a servlet of the web application
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 47018] application output redirection to context
log (swallowOutput) does not work if context is loaded on startup
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47018
Steve Yates <st...@springsource.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |steven.yates@springsource.c
| |om
--- Comment #1 from Steve Yates <st...@springsource.com> 2009-04-15 01:12:04 PST ---
(In reply to comment #0)
> Web Application standard output and eror (System.out and System.err)
> redirection to Context Log (activated by <Context swallowOutput="true">) does
> NOT work when:
>
> Servlet is loaded on tomcat startup i.e. when in web.xml you have
> <load-on-startup>1</load-on-startup>
> for a servlet of the web application
This is interesting Plini, let me take a look into this for you. To assist in
reproducing this please provide your configuration and logging properties files
respectively.
Steve
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 47018] application output redirection to context
log (swallowOutput) does not work if context is loaded on startup
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47018
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from Mark Thomas <ma...@apache.org> 2009-09-15 20:08:44 BST ---
This works for me for System.out.println() statements in init(), doGet() and
destroy() with and without load-on-startup.
If you need further help, the users list is probably your best bet.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 47018] application output redirection to context
log (swallowOutput) does not work if context is loaded on startup
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47018
Plinio Conti <pl...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|application redirection to |application output
|context log (swallowOutput) |redirection to context log
|does not work if context is |(swallowOutput) does not
|loaded on startup |work if context is loaded
| |on startup
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org