Re: AccessLogValve differs between 4.x and 5?
Thanks for this link, but I checked http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Access%20Log%20Valve which does not show any of this additional features. So does this mean that I only can use it in the API or is there a chance to define a pattern in the regular definition file server.xml? Best regards Harald Am Di, den 14.09.2004 schrieb Tim Funk um 16:11: > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/valves/AccessLogValve.html > > %{host}i <-- Get the host > %{cowbell}c <-- Get the first cookie called cowbell > %{cowbell}r <-- Return the value of > ServletRequest.getAttribute("cowbell").toString(); > %{more.cowbell}r <-- Return the value of > ServletRequest.getAttribute("more.cowbell").toString(); > %{fever}s<-- Return the value of > HttpSession.getAttribute("fever").toString(); > > > > -Tim > > Harald Schumacher wrote: > > > Tim, > > > > could you give me a hint where to find a documentation? On > > jakarta.apache.org the 4.1 documentation does not mention this lines I > > copied in my first mail. Using the definition from 5.x did not work for > > my (maybe I made some mistakes?) but I would like to see how a correct > > example looks like. > > > > Thank you for your help > > > > Harald > > > > Am Di, den 14.09.2004 schrieb Tim Funk um 13:06: > > > >>This functionality is also available in 4.1(I forget the number) > >> > >>-Tim > >> > >>Harald Schumacher wrote: > >> > >> > >>>Hi, > >>> > >>>I got an hint to > >>> > >>>http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html. > >>> > >>>for a previous question about logging. There I found > >>> > >>> > >>> > >>> > >>>> * %{xxx}i for incoming headers > >>>> * %{xxx}c for a specific cookie > >>>> * %{xxx}r xxx is an attribute in the ServletRequest > >>>> * %{xxx}s xxx is an attribute in the HttpSession > >>>> > >>> > >>>This seems to be what I want, but I do not find this section in the > >>>version 4 documentation (and it seems not to work!). Do I have to > >>>upgrade to 5 or has someone managed to get this running? > >>> > >>>Thanks and best regards > >>> > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AccessLogValve differs between 4.x and 5?
Tim, could you give me a hint where to find a documentation? On jakarta.apache.org the 4.1 documentation does not mention this lines I copied in my first mail. Using the definition from 5.x did not work for my (maybe I made some mistakes?) but I would like to see how a correct example looks like. Thank you for your help Harald Am Di, den 14.09.2004 schrieb Tim Funk um 13:06: > This functionality is also available in 4.1(I forget the number) > > -Tim > > Harald Schumacher wrote: > > > Hi, > > > > I got an hint to > > > > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html. > > > > for a previous question about logging. There I found > > > > > > > >> * %{xxx}i for incoming headers > >> * %{xxx}c for a specific cookie > >> * %{xxx}r xxx is an attribute in the ServletRequest > >> * %{xxx}s xxx is an attribute in the HttpSession > >> > > > > This seems to be what I want, but I do not find this section in the > > version 4 documentation (and it seems not to work!). Do I have to > > upgrade to 5 or has someone managed to get this running? > > > > Thanks and best regards > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Proprietary Authorization
Hi again, I have to check authorization against a proprietary database system without the chance to use standard realms. Is there a way for defining own authorization structures for a realm? Where can I find a documentation? Thank you for any help Harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AccessLogValve differs between 4.x and 5?
Hi, I got an hint to http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html. for a previous question about logging. There I found > * %{xxx}i for incoming headers > * %{xxx}c for a specific cookie > * %{xxx}r xxx is an attribute in the ServletRequest > * %{xxx}s xxx is an attribute in the HttpSession > This seems to be what I want, but I do not find this section in the version 4 documentation (and it seems not to work!). Do I have to upgrade to 5 or has someone managed to get this running? Thanks and best regards Harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
apache CustomLog directive for tomcat
Is there any CustomLog directive, like in the apache webserver for tomcat? How can I influence the content of the access log file? Thanx Harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Logifle information
Hi, is there a chance to get own information into a tomcat logfile? I would like to add information to normal GET and PUT requests. Thanks Harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat user name
Hello, I have an application which authorize themselves, but now I would like to have tomcat knowing the user name for using WEB statistic tools. Did someone manage to get back user credentials to tomcat from inside an existing application? Thank you in advance Harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]