Extended format of access.log and log rotation

I am using WebLogic Server 6.1sp1. I want to use extended format of web
server access log. I also want to use log rotation based on date. But it
seems not to work together. After my investigation I can say:
- access.log in common format can be rotated based on date an on size,
- access.log in extended format (either in its default form or
completely redefined) cannot be rotated neither based on date nor size.
In the second case at first time WebLogic tries to rotate logfile
IOException is thrown with a message like "java.io.IOException: Failed
to rename log file on attempt to rotate logs". Than it throws
IOException with a message "Exception flushing HTTP log file. (Bad file
descriptor)." when it tries to flush content of logfile to the disk.
After that WebLogic server stops to write to access.log.
Is it possible to rotate access.log in extended format?
Thanks,
Andrzej Derlacki
Infovide, Poland
[email protected]
[email protected]

i am pasting the entries below which i see in the log( access_log ) . I don't see DEBUG in them.
<AGENT_IP_ADDRESS> - - [29/Jun/2007:09:48:23 -0400] "GET /em/upload?ACTION=HEARTBEAT&EMD
_URL=https%3a%2f%2flph010%2egep%2ege%2ecom%3a3872%2femd%2fmain%2f&HEARTBEAT_TI
ME=2007-06-29+09%3a40%3a09&OUTSTANDING_SEVS=FALSE&EMD_UPTIME=2007-06-18+10%3a20%
3a23&OLDEST_COLL_TIME=2007-06-29+09%3a40%3a09&INSTALL_TYPE=agent&X-ORCL-EMOV=4%2
e0%2e0&X-ORCL-EMCV=10%2e2%2e0%2e1%2e0&X-ORCL-EMSV=10%2e2%2e0%2e1%2e0 HTTP/1.1" 2
00 5
<AGENT_IP_ADDRESS>- - [29/Jun/2007:09:48:23 -0400] "GET /em/upload?ACTION=HEARTBEAT&EM
D_URL=https%3a%2f%2fprdes%2eeur%2egep%2ege%2ecom%3a3872%2femd%2fmain%2f&HE
ARTBEAT_TIME=2007-06-29+15%3a48%3a23&OUTSTANDING_SEVS=FALSE&EMD_UPTIME=2007-06-1
8+18%3a27%3a33&OLDEST_COLL_TIME=2007-06-29+15%3a48%3a23&INSTALL_TYPE=agent&X-ORC
L-EMOV=4%2e0%2e0&X-ORCL-EMCV=10%2e2%2e0%2e1%2e0&X-ORCL-EMSV=10%2e2%2e0%2e1%2e0 H
TTP/1.1" 200 5
<AGENT_IP_ADDRESS> - - [29/Jun/2007:09:48:24 -0400] "GET /em/upload?ACTION=HEARTBEAT&E
MD_URL=https%3a%2f%2fug038%2egep%2ege%2ecom%3a3872%2femd%2fmain%2f&HEARTBEAT_
TIME=2007-06-29+22%3a19%3a35&OUTSTANDING_SEVS=FALSE&EMD_UPTIME=2007-06-18+18%3a3
7%3a03&OLDEST_COLL_TIME=2007-06-29+22%3a19%3a35&INSTALL_TYPE=agent&X-ORCL-EMOV=4
%2e0%2e0&X-ORCL-EMCV=10%2e2%2e0%2e1%2e0&X-ORCL-EMSV=10%2e2%2e0%2e1%2e0 HTTP/1.1"
200 5

Similar Messages

  • [svn:fx-trunk] 21141: Bug: 2780176 - Logging and logging out multiple times in LCDS can cause duplicate session detected errors .

    Revision: 21141
    Revision: 21141
    Author:   [email protected]
    Date:     2011-04-26 06:40:39 -0700 (Tue, 26 Apr 2011)
    Log Message:
    Bug: 2780176 - Logging and logging out multiple times in LCDS can cause duplicate session detected errors.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: When a logout was followed by an immediate login, sometimes the server would throw duplicate session detected errors. This was because when logout happened, a fire-and-forget disconnect message was sent to the server that established a new session, and if the subsequent login happened before disconnect ACK returned from the server, that would establish another session and hence the error. The fix is to insert a slight delay between disconnect and ResultEvent dispatching. This way, disconnect has a chance to return before a login is performed.
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as

    You've got an  incompatible Logitech driver and java was incompletely uninstalled.
    You may have a problem with the Wacom driver.
    I don't know if fixing those things will help.
    There also a few window server errors, but I don't know if they are causal.
    If you can note the time of the hangs, that might help narrow it down in the logs.

  • Secure.log and log rotation problems

    I had originally posted this in the Tiger section, but now finding the Unix section which I think would be able to help me more. here is the link to the post: http://discussions.apple.com/thread.jspa?threadID=1913487&tstart=0
    Also I am getting this in my system.log, I have googled it and cannot find anything that tells me what it is:
    Feb 19 18:54:34 SamiMac kernel[0]: m378d97c0 0
    some help on this would also be appreciated.
    Message was edited by: a Mac user

    The secure.log message is explained at the bottom of Spurious Permission errors in OS X 10.4.
    For your ipfw logs, check that /etc/periodic/weekly/500.weekly contains the line
    for i in ftp.log lookupd.log lpr.log mail.log netinfo.log hwmond.log ipfw.log ppp.log secure.log; do
    (although I don't know why it wouldn't) and then check this is actually being run by looking at /var/log/weekly.out. Try
    tail -10 /var/log/weekly.out
    Let us know what you see.
    I haven't seen that kernel message before

  • Failed to search the log and log repository using Application Server Contro

    I installed the OAS 9.0.4(10g) and tried to use Application Sever Control to search the log files or log repository. However, each time I clicked the Search button, the error page showed the following messages:The operation cannot be performed because the page contains expired data. The data will be automatically refreshed so you can try your operation again.
    I checked the emias.log and something like following existed:
    ERROR chart.EmChartCacheWorker getCachedChart.505 - EmChartCacheWorker.getCachedChart: 4abdc63146b7578d9853d1adc2aec4245fbf113b.png
    EXCEPTION: java.io.FileNotFoundException: /home/oas/product/OAS904/sysman/webapps/emd/images/chartCache/chart4abdc63146b7578d9853d1adc2aec4245fbf113b.png.png (No such file or directory)
    2004-09-14 11:27:37,414 [HttpRequestHandler-24691856] ERROR chart.EmChartBean getChartImage.2662 - ERROR generating chart image: java.io.FileNotFoundException: /home/oas/product/OAS904/sysman/webapps/emd/images/chartCache/chart4abdc63146b7578d9853d1adc2aec4245fbf113b.png.png (No such file or directory)
    2004-09-14 11:27:37,422 [HttpRequestHandler-30430942] ERROR chart.EmChartBean getChartImage.2655 - EXCEPTION while generating chart image [id]: 030ddc5b70a789c374eb11e2ae97ac8c79441f5b.png
    2004-09-14 11:27:37,422 [HttpRequestHandler-30430942] ERROR chart.EmChartBean getChartImage.2658 - java.io.FileNotFoundException: /home/oas/product/OAS904/sysman/webapps/emd/images/chartCache/chart030ddc5b70a789c374eb11e2ae97ac8c79441f5b.png.png (No such file or directory)
    I searched the directory specified in the emias.log and found it was empty!
    So what should I do to avoid this problem?
    Thanks in advance!

    Thank you.
    When you fire the processes to the report server you
    can trace the report with the following parameter:
    RWCLIENT.EXE SERVER=my_server
    TRACEFILE=c:\my_trace.trc
    TRACEMODE=TRACE_REPLACE
    TRACEOPTS=TRACE_ALL

  • HT1430 unable to access "sound" and "lock rotation" at the same time.  If "sound" is on device will not rotate, and vice versa

    If "sound" is on device will not rotate, and vice versa

    You can have both, the Settings > General > Use Side Switch To setting is only setting what the small switch on the side of your iPad, above the volume switch, controls i.e. either rotation lock or notification mute - the function that isn't being controlled viat the switch on the side of your iPad is set via the multitasking bar in iOS 6 and below, control centre in iOS7 : http://support.apple.com/kb/HT4085
    iOS 6 and below : double-click the home button to open the taskbar; slide from the left; and it's the icon far left; press home again to exit the taskbar
    iOS 7 : swipe up from the bottom edge of the screen to open control centre and it's the right-most of the 5 icons in the middle of it (if the icon is white then it's 'on', tap it to turn it grey and 'off').
    So to have both mute and rotation 'off' you need to have both the switch on the side of your iPad 'off', and the icon on taskbar/control centre 'off'

  • ActionScript 3 logging and log Class

    Hello All, I am a bit of novice in ActionScript 3. I am attempting to create an application in Flash were clients can exchange and send messages to each other. I have heard logAppend  logTarget, logWindow etc can achieve this in Flex Builder. Can this code work in Flash? If the answer is yes, can you provide me some examples of the code please or give me a link so i can read and learn more about the code?
    If the answer is no then, what do i do?
    Thank You

    i don't think so.  i don't see any references, for example, to logAppend anywhere on adobe.com.
    use the netgroup class to create a peer-to-peer chat app.

  • Can oracle audit logs keep info of Blocking or blacklisting a user ID, terminal or access port, and the reason for the action?

    Hello,
    I am workin on Oracle 11G STIGs and one STIGs states that audit log should include followings;
    - User ID.
    - Successful and unsuccessful attempts to access security files
    - Date and time of the event.
    - Type of event.
    - Success or failure of event.
    - Successful and unsuccessful logons.
    - Denial of access resulting from excessive number of logon attempts.
    - Blocking or blacklisting a user ID, terminal or access port, and the reason for the action.
    - Activities that might modify, bypass, or negate safeguards controlled by the system.
    I know how to enable audit trial with OS or DB, EXTENDED levels.  However, I could not find if it is possible that audit logs can contain info of Blocking or blacklisting a user ID, terminal or access port, and the reason for the action.

    2687254 wrote:
    Hello,
    I am workin on Oracle 11G STIGs and one STIGs states that audit log should include followings;
    - User ID.
    - Successful and unsuccessful attempts to access security files
    - Date and time of the event.
    - Type of event.
    - Success or failure of event.
    - Successful and unsuccessful logons.
    - Denial of access resulting from excessive number of logon attempts.
    - Blocking or blacklisting a user ID, terminal or access port, and the reason for the action.
    - Activities that might modify, bypass, or negate safeguards controlled by the system.
    I know how to enable audit trial with OS or DB, EXTENDED levels.  However, I could not find if it is possible that audit logs can contain info of Blocking or blacklisting a user ID, terminal or access port, and the reason for the action.
    Think about that.  If the port or terminal (client ip address) is blocked, then the communication never got to the database.  So how would the database be able to audit an action that never got there?

  • Rotating logs and rdate don't work together

    Hi people,
    Recently I've noticed a problem with rotating logs and rdate. Since the server runs as a cronjob a 'rdate' command, web server logs are not rotated correctly.
    Archived log files only keep messages from the last hour (23-24), when they should keep the messages of the whole day.
    Servers without the 'rdate' cronjob keep archived messages properly.
    The magnus.conf line that configures the archives logs is:
    Init fn="flex-rotate-init" rotate-start="0000" rotate-interval="1440"
    and the crontab that runs rdate:
    10 20 * * * rdate mytimeserver
    What is the problem with archiving logs and running rdate??
    Thanks in advance,
    Juan Fuentes.

    This is a major screw-up on Apple’s part. Interesting that I just realized courtesy of MacIntouch that TM was NOT backing up my FileVaulted home folder. I use my MacBook Pro probably like most people. When I’m at home I’m behind a firewall. I leave the computer connected to my home network and I leave it open and on. I don’t log out ever! For security I do use the FileVault feature and I don’t use distant connections to my home network.
    There should be an option for TM to back up the open file vault directory just as if, frankly, someone would have access to it if they picked up my open computer and walked off with it. The owner has to have physical control of the computer. FileVault works if the computer is asleep and the wake log-on is enabled or if the computer is restarted. However, if my filevault is open and being used by me it should be available for a TM back-up.
    Interesting that Retrospect, with all its faults and promises of vaporware to come, WILL back up my MacBook FileVault.
    Apple should provide some type of option for this situation. On the fly decoding of the open FileVault directory so as to avoid a repeated total backup of the whole thing is the answer. It is the owner’s responsibility to keep the TM volume secure.

  • How can i see when someone has accessed my call/text log. (This is possible on google) I have been informed that someone has accessed my activity log and is giving my information to a third party. I believe it is a service tech, but I am not interested in

    How can i see when someone has accessed my call/text log. (This is possible on google/gmail) I have been informed that someone has accessed my activity log and is giving my information to a third party. I believe it is a service tech, but I am not interested in persuing that further. I just need to see when my account has been accessed if possible.

    Hi lynniewigs,
    This is a common concern among Android and I-phone user, and one of the drawbacks to using a smart phone.  We lose so much privacy. Our phones become cameras into our homes for us to be spied on.
    I don't know what type of phone you have, if it is even a smart phone, but here is an example of an application that you can use to determine which applications are accessing your information and sending it out. 
    Permission Scanner - Android Apps on Google Play
    Google just recently revamp their permissions geared to hide invasive applications that spy and send out your information without your knowledge.  Report says be aware of what your Android app does - CNET
    Please continue to be mindful of the apps you download and the permissions you give. 

  • I've tried everything but can't access iTunes store from my ipad. Apple ID is fine and logged in to iTunes on pc. Still no luck. Anyone any other alternatives? Thx.

    I've tried everything but can't access iTunes store from my ipad. Apple ID is fine and logged in to iTunes on pc. Still no luck. Anyone any other alternatives? Thx.

    You may think you are connected to the internet, but maybe not. Click on Safari and see if it connects.
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • HT5622 valid apple id but not icloud account.  I tried downloading on a different computer and logging in and it did not work.  I have restarted my computer several times.  I have changed my password several times.  I have tried to access the icloud page.

    repeating error message reads: "valid apple id but not icloud account." when trying to start my icloud account.  I tried downloading on a different computer and logging in and it did not work.  I have restarted my computer several times.  I have changed my password several times.  I have tried to access the icloud page.  Nothing has worked.  Now I have this stupid app and some of my music is still not being shared on both of my computers.

    I have the same problem signing in...but, I finally got a screen saying you have to set up a account on a device..like an ipad to get a iCloud sign in ...my apple id is [email protected]   and this screen reset to [email protected]
    If you don't have an apple device you may be out of luck.  I don't know.  I'm still waiting for help just as you are...good luck to both of us though.

  • EM Application Log and Web Access Log growing too large on Redwood Server

    Hi,
    We have a storage space issue on our Redwood SAP CPS Orcale servers and have found that the two log files above are the main culprits for this. These files are continually updated and I need to know what these are and if they can be purged or reduced down in size.
    They have been in existence since the system has been installed and I have tried to access them but they are too large. I have also tried taking the cluster group offline to see if the file stops being updated but the file continues to be updated.
    Please could anyone shed any light on this and what can be done to resolve it?
    Thanks in advance for any help.
    Jason

    Hi David,
    The file names are:
    em-application.log and web access.log
    The File path is:
    D:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_brsapprdbmp01.britvic.BSDDRINKS.NET_SAPCPSPR\log
    Redwood/CPS version is 6.0.2.7
    Thanks for your help.
    Kind Regards,
    Jason

  • Server.log and access file previous record are overwrite

    Hi,
    I am having problem that my server.log and access file in all instance have been overwrite by latest record. Suppose all the system.out.print will append to the server.log. However, my problem is the log which has been written to server.log in earlier time (mayb morning till afternoon) is replaced. From the server.log, I am only able to view the log which start from 11 pm. The same case happen to access file as well. This incident is not happen everyday but sometimes.
    I am wondering what is happen and how i can solve the problem.
    Any help/guidance is highly appreaciate.
    Thanks.

    Hi,
    Did anyone know the solution for this issues..
    Thanks.

  • Do we need to format data and log files with 64k cluster size for sql server 2012?

    Do we need to format data and log files with 64k cluster size for sql server 2012?
    Does this best practice still applies to sql server 2012 & 2014?

    Yes.  The extent size of SQL Server data files, and the max log block size have not changed with the new versions, so the guidance should remain the same.
    Microsoft SQL Server Storage Engine PM

  • Hey guys, when i try and log in to itunes, even though the details are correct it is showing up as an error and not allowing me access to my account.. could anyone help??

    Hey guys, when i try and log in to itunes, even though the details are correct it is showing up as an error and not allowing me access to my account.. could anyone help?

    what is the error?

Maybe you are looking for