Extending HTTP access log file

I am trying to extend the HTTP access log file using the information given at http://e-docs.bea.com/wls/docs81/adminguide/web_server.html#113868
However, I havent been able to succeed in doing that. I have written my own class
authType.java to display that information in the log file. I compiled the class
and placed it under the lib directory thereby guaranteeing that it will be loaded.
However, the log file only seems to place a '-' at the location where it should
have actually placed the contents of the method getMethod().
Help will be appreciated.
[authType.java]

Not at the moment. We are working on adding a property in an upcoming
release.
This is documented at:
http://www.weblogic.com/docs51/adminhelp/AdminPropertyHelp.html
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
Sean Scott <[email protected]> wrote in message
news:8fhpl1$50t$[email protected]..
Is there a property to set the max size of the http access.log file?

Similar Messages

  • How has access.log file configured in WebLogic server 10.0?

    1.) I am using BEA Weblogic 10.0 and my access.log is not getting updated.
    2.) I also need any information as to how this Webblogic server forms chunks (ex....access00011.log,access00012.log) because i have a software called AWStats which merges all these chunks into 1 single access.log file under its subdirectory.
    3.) I also need information as to how and where the user can specify/ form his own fields which gets displayed in the access.log
    FYI i have 2 servers and i checked under Logging->HTTP->advanced, in both the servers options and configurations are same but in 1 it works fine and access.log is updating but not in the other one.
    Kindly let me know i you have any leads into this issue!
    Thanks,
    Varun

    Hi Ravish,
    Firstly thanks for the reply.
    1.) -----
    What you can do is to set the buffer-size-kb parameter value to "0" in config.xml so that it can start logging once the server starts coming up rather then waiting for the default size which is 8kb to pass.
    Something like below:
    <web-server-log>
    <buffer-size-kb>0</buffer-size-kb>
    <web-server-log>
    For more details check the below link:
    Search for: CR302493
    http://download.oracle.com/docs/cd/E11035_01/wls100/issues/known_resolved.html
    --- for this issue i had browsed throught the forum before posting but in my conf file i have something like this instead of <buffer-size-kb>0</buffer-size-kb>
    <web-server>
    <web-server-log>
    <number-of-files-limited>false</number-of-files-limited>
    <log-file-format>extended</log-file-format>
    </web-server-log>
    </web-server>
    So how do i go about the path of debugging now??
    2.) -------
    If you do not want rotation of access.log then you can just disable it from the below console path just by putting Rotation type as None
    Server -> <YOUR_SERVER_NAME> -> Logging (tab) -> HTTP (sub-tab) -> Rotation type: None
    ---- for this in both my servers i have the settings like this,
    Rotation type--> By Size
    Rotation File size 5000
    Begin rotation time 00:00
    rotation interval 24
    files to retain 7
    and Log file rotation directory is left blank (to get created in same directory)
    and also Rotate log file on startup is unchecked.
    so??? what do you suggest!?
    3.) ------
    I also need information as to how and where the user can specify/ form his own fields which gets displayed in the access.log
    ---- regarding this, in my main server the access.log is getting updated and after 4.8Mb its creating 5Mb chunks. So, for example if the entire log is of 15 Mb then access.log stops updating at 4.98Mb and accesslog.out0001 and accesslog.out0002 is created with 5Mb each but the latest entry will be stored in accesslog.out0002 file. I hope i didn't complicate this :)
    Regards,
    Varun

  • Authenticated user name not written to access log file

    Our users are authenticated with certificates to an LDAP directory server. The Access log file is using the Extended-2 format.
    The name of the authenticated user is now written in the Access log.
    10.4.57.44 - - [19/May/2004:14:07:21 -0400] "GET /somepage HTTP/1.1" 200 10382
    Anybody know why?

    I've got the same problem with Sun Java System Web Proxy Server 4.02 for Linux.
    When I installed it, authenticated users were visible in the access log. Then I tryied to change format and since that moment, this information is disappeared.
    Any news about this bug?
    Thanx.
    G.

  • Putting header information on access log files

    Can anybody suggest how to put a Apache Extended with Cookies LogFormat(i.e. "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"{User-Agent} i\"\"{Cookie}i\"") information in access log file headers in Oracle10g application server probably for webcache. I also want to know the location in which and where this configuration files resides.
    Thanks,
    Kamal

    Are You using IronPort URL Filters or Cisco IronPort Web Usage Controls.
    I'm using Cisco IronPort Web Usage Controlsand it shows:
    IW_csec,-,"Unknown","-","Unknown","Unknown","-","-",462.00,0,-,"-","-">
    Seems Your does not handle categorization and skips that part.

  • Getting Client IP address in Webcenter access log files

    In addition to Understanding Webcenter Spaces Access Log File
    I want to trace the IP address of the client machine from where webcenter spaces is being accessed.
    How to capture this?
    Please help.
    -- Navin K

    You can access one of two server logs:
    If you embedded an HTTP Server in front of WebLogic (which is what Oracle recommends), then you have access information in OHS (which is just like Apace).
    If you are using a managed server (or even the admin server) in WebLogic, same thing, different name/place (the http access log).
    same discussions are going on in other thread -
    How to get the IP adress of the user who have accessed Webcenter Spaces ?

  • How to configure WLS to send HTTP access log to syslog under Solaris?

    I understand there is a way configuring WLS to use syslog via log4j. Is it possible only to direct HTTP access logs to syslog and keep the rest of logs in normal log files? Thanks!

    I've been following the "How to do UD Document" https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58f4db47-0501-0010-a2bf-ff01b150fdff and more specifically the document for Sybase  https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0d70315-958f-2a10-bc88-eb91e36f4037
    I am using the latest .jar file from Sybase http://www.sybase.com/detail?id=1002257
    When I navigate to http://<hostname>:50000//TestJDBC_Web/TestJDBCPage.jsp and Select connection name SDK_JDBC I get the following error message:
    Could not connect to database. Connection is inactive or does not support JDBC
    com.sap.ip.bi.sdk.exception.BIConnectionFailedException: Cannot open the connection
    Caused by: com.sap.ip.bi.sdk.exception.BIResourceException: Class DriverName is not found
    Caused by: java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDataSource
    Found in negative cache
    Loader Info -
    ClassLoader name: [connector:default]
    Parent loader name: [Frame ClassLoader]
    library:SYBASE
    Resources:
       /usr/sap/BWD/JC02/j2ee/cluster/server0/apps/sap.com/com.sap.ip.bi.sdk.dac.connector.sapq/connector/connectors/bi_sdk_sapq.rar/bi_sdk_sapq.jar
       /usr/sap/BWD/JC02/j2ee/cluster/server0/apps/sap.com/com.sap.ip.bi.sdk.dac.connector.jdbc/connector/connectors/bi_sdk_jdbc.rar/bi_sdk_jdbc.jar
       /usr/sap/BWD/JC02/j2ee/cluster/server0/apps/sap.com/cafbwadapterassembly/connector/connectors/cafbwadapterassembly.rar/sap.comcafbwadaptercaf.bw.adapter.jar
       /usr/sap/BWD/JC02/j2ee/cluster/server0/apps/sap.com/com.sap.ip.bi.sdk.dac.connector.xmla/connector/connectors/bi_sdk_xmla.rar/bi_sdk_xmla.jar
    Loading model: {parent,references,local}
    Any thoughts/insites?
    Thanks, Steve

  • Retrive  User & Cookie Information Using Apache Access Log Files

    Hi All
    The following information are not showing under Apache access log files that is used with Oracle Appserver (10g 10.1.2) given below.
    1)User Informations
    2)Cookie Informations
    We are using below Commands in the httpd.conf File that have specified in the documents link given below
    http://download-west.oracle.com/docs/cd/B31017_01/web.1013/q20201/logs.html#accesslog
    LogFormat "%h %l %u %t \"%r\" %>s %b %v \"%{Referer}i\" \"%{User-Agent}i\" \"%{cookie}n\"" combined
    Please anyone can tell what are the necessary informations that we have to specified in the httpd.conf file to retrive Cookie and user Informations.
    Thanks to all
    Sona

    Thanks for your reply
    Can u please check the below link for the cookie flag information
    http://download-west.oracle.com/docs/cd/B31017_01/web.1013/q20201/mod/mod_usertrack.html
    For your information i have logged in already.
    Our Sample O/p is given below
    151.146.191.186 - - [28/Dec/2006:10:13:05 +0530] "GET /Tab_files/lowerbox.gif HT
    TP/1.1" 200 150 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows)"
    We are using the below command format
    LogFormat "%h %l %u %t \"%r\" %>s %b %{cookie}n \"%{Referer}i\" \"%{User-Agent}i\"" combined
    But User and Cookie informations is not displaying.
    what steps should i follow.
    Looking for the favourable reply
    Thanks

  • Retrive Cookie Information in the Apache Access Log Files

    Hi All,
    Can anyone give me the solution or any link to follow the steps for retriving cookie information and user information in the Apache Access log files using httpd.conf file.
    we are using Oracle Appserver 10.1.2 Version and we have specfied below commands in httpd.conf file.
    LogFormat "%h %l %u %t \"%r\" %>s %b %v \"%{Referer}i\" \"%{User-Agent}i\" \"%{cookie}n\"" combined
    But it failed to retrive cookie and user informations
    Looking forward any one help.....
    Thanks
    Regards
    Sona

    Thanks for your reply
    Can u please check the below link for the cookie flag information
    http://download-west.oracle.com/docs/cd/B31017_01/web.1013/q20201/mod/mod_usertrack.html
    For your information i have logged in already.
    Our Sample O/p is given below
    151.146.191.186 - - [28/Dec/2006:10:13:05 +0530] "GET /Tab_files/lowerbox.gif HT
    TP/1.1" 200 150 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows)"
    We are using the below command format
    LogFormat "%h %l %u %t \"%r\" %>s %b %{cookie}n \"%{Referer}i\" \"%{User-Agent}i\"" combined
    But User and Cookie informations is not displaying.
    what steps should i follow.
    Looking for the favourable reply
    Thanks

  • HTTP Access logs

    Hi!
              Has anyone created custom field identifiers?
              I created a class for my custom field to access.log file and I changed the
              file
              so that it's in Extended Log Format.
              I placed the class file to classpath what the server uses when it starts up.
              Put it still do not work!!
              And the documents are useless...
              -Jussi Pöri
              

    Change "X-<class_of_extended_field>" to "x-<class_of_extended_field>".
    Andrzej Derlacki
    [email protected]

  • How i can access log file in servlet?

    How i can access log file in servlet then display it to browser.
              Can i have peice of codes...
              Thanks in advance.!
              

    This is not something that can be answered easily. There is quite alot of code involved....
    To get started I suggest you read up on the built-in package 'DBMS_LOB' from Oracle . Most of what you need you should find there.
    regards Dave.

  • Why can't read access log file in real-time? (Oracle Weblogic Server 10.3)

    We can't read access log file in real-time. If access log is rotation to new file so can read access log file but can't read real-time.
    *** Oracle Weblogic Server versions 10 R3

    what's your meaning? try this command "tail -f access.log".
    Threre is a buffer about 8K for WebLogic to write the access info into the log files, so you can't see the access info untill the buffer is full.

  • WLS http access logs not written to when starting WLS instance using nodemanager

    When starting managed WLS instances using node manager the HTTP access logs are
    not written to (the WLS log in the same directory is written to). All other functionality
    of the WLS instances seem to operate just fine when started using node manager.
    When we start the same managed WLS instances using a start-up script the HTTP
    access logs are written to.
    ===
    How can we get HTTP access logs to be written to when starting a WLS instance
    using node manager?

    I think I know the answer to this one!
    I got bitten by the same bug (at least I think it is a bug). Check the location
    specified for the HTTP-access log for your server instance. It is probably a relative
    location, right?
    According to the docs, relative paths should start from the Root Directory (see
    your Remote Start config), but it seems like the BEA-programmers forgot to retrieve
    the Root Directory and instead blindly writes to the process' current working
    directory (CWD).
    And when started by the Node Managet, the CWD = WL_HOME/common/nodemanager.
    If you are as paronoid as I am (and you should be too), that directory should
    not be writeable by anyone. Because my BEA installation was owned by 'bin', and
    the processes run by 'beawls', I got an error message in my NM-logs pointing to
    the problem. In your case, you are probably running NM as a user that has write-access
    to your NM-home, and all your missing HTTP-access logs are deep, down there.
    Jan Bruun Andersen

  • Regarding accessing log file entries in Oracle 10g

    Hi....
    i need to watch all actions done by users of database to build intrusion detection system...
    how can i get the log file entries and where it is stored in linux(oracle 10g)...is there any way to access logfile entries one by one..
    thanx
    in advance

    Hi,
    Probably you are looking for database auditing.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/security.htm#sthref2916
    Cheers,
    Avinash

  • Nothing being written to http access log.

    I added a custom field for extended logging, turned extended logging on and I know that the class is being invoked and the log method is being called. However my access.log is empty.
    what gives ?! I dont quite know how to debug this one. short of crawling through thedebugger

    Hi,
    What you can do is to set the buffer-size-kb parameter value to "0" in config.xml so that it can start logging once the server starts coming up rather then waiting for the default size which is 8kb to pass.
    Something like below:
    <web-server-log>
    <buffer-size-kb>0</buffer-size-kb>
    <web-server-log>
    For more details check the below link:
    Search for: CR302493
    http://download.oracle.com/docs/cd/E11035_01/wls100/issues/known_resolved.html
    Hope this helps you.
    Regards,
    Ravish Mody

  • Can no longer access log files from EM(ECM11.1.1.6.0).

    Full UI popup error is " Stream closed ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #4"
    Of course, I can't see any further errors in the logs,so I'm really at a disadvantage. am currently asking client if he sees anything in the Console for errors.
    This was working just fine, no issues accessing logs from EM. No configiration changes were made, there's almost 8gb RAM available on this box(SOA on different BOX). ECM set up is Admin, IPM, UCM on this box.
    Is there special memory settings for logs?

    log from Admin Console is this:
    <Dec 11, 2012 12:03:32 PM PST> <Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #6
    java.io.IOException: Stream closed
    at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:416)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:315)
    at oracle.jsp.parse.XMLUtil.getDocument(XMLUtil.java:447)
    at oracle.jsp.parse.OracleJsp2Java.transformImpl(OracleJsp2Java.java:402)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:593)
    at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:691)
    at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:490)
    at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:457)
    at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:645)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:387)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:810)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:734)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.sysman.eml.app.JSPFilter.doFilter(JSPFilter.java:93)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45)
    at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45)
    at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:268)
    at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:471)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.sysman.emSDK.adfext.ctlr.EMViewHandlerImpl.renderView(EMViewHandlerImpl.java:158)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:102)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    Again, this is from me simply acessing any standard WLS log on the ECM Domain.
    Lgin as weblogic, then Farm->logs>View Log Messages

Maybe you are looking for

  • Any way to have file size included in the first search in finder?

    Is it possible to somehow show file sizes when doing a search in finder? On Panther, it was very helpful to have the file sizes listed. This immediately revealed whether the photoshop files I was looking for were full size or reduced. But when I run

  • Returns with the current moving average price

    Dear All, I have a concern, if its possible to return to vendor with the current moving average price as I know that returning with movement type 122 is not applicable with such a case , so please advice with an OSS note if applicable Appreciating yo

  • Linking two JFrames using JButton-very,very urgent

    Hello, I have two JFrames I created using javax.swing.I am new to ActionListener.The two classes are the frames.Could someone please link them for me?Their code is as follows:- 1. import java.awt.*; import javax.swing.*; import java.awt.event.*; publ

  • List Error:invalidIndex when remove an item

    Hi Guys, I got the following exception, when i removed an item from spark list. I stepped into to see the index, i looked all right. Somehow, it went the following stack, and the index became an invalid index, which i am not sure where it was from. I

  • HT1338 why is my laptop shown as unknown when devices are listed in "find my mac"?

    Among other devices, I purchased a MacAir laptop.  When I looked at the "find my iPhone and find my iMac" list recently, I noticed that the MacAir was listed as a unknown device.  How do I change that status to reflect that it is Me?