Solved

Oracle WebCache Access Log rotation

Posted on 2011-09-20
3
1,299 Views
Last Modified: 2013-12-19
Dear experts -

                  I have been trying to configure oracle webache logs. What I would like to do is rotate the access logs every day.  What I did was ,

1. Under the Logging and Diagnostics , clicked on Access Logs
2. I gave the file name as access_log_file.yyyymmdd_hhmm  
3. selected roller over policy as daily

applied the changes and restarted the webcache

when I tried to access an application. I see the logfile name as access_log_file.yyyymmdd_hhmm  instead of access_log_file.20090920.1555.

what I mean to say it is not capturing the date format I provided

Thanks for the help

Regards
0
Comment
Question by:akp007
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
Jacobfw earned 500 total points
ID: 36573008
My understanding is that you would just leave the file name as the default "access_log" and the application would append the appropriate suffix:
    For Daily it would be in the format "-jjjj-MM-tt"

So your file names would look like access_log_file-2011-SEP-20


0
 
LVL 7

Assisted Solution

by:Jacobfw
Jacobfw earned 500 total points
ID: 36573030
I am sure you have read this already, but I will include it anyway.

http://download.oracle.com/docs/cd/E17904_01/web.1111/e10143/log.htm#CEGEJFIE

0
 

Author Closing Comment

by:akp007
ID: 36573751
thanks. that worked
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now