Apache Log Format Question

Hi,
I need to set my Apache logs to combined for AWStats to work. In 10.6 server admin there seems to be no place to change the log format. Can any one tell me how I do this? I have multiple sites hosted so will I need to do it for each site?
Thanks
Paul

You'll need to change it directly in the config file for each site. They're in /etc/apache2/sites, with names starting with a site ID number and ending in .conf. You need to change the CustomLog directive to something like
CustomLog "/var/apache2/access_log" combined
...and then restart Apache ("sudo apachectl graceful" will do the trick).

Similar Messages

  • Where is org.apache.log.format.Formatter

    I am writing some code that somewhere is referencing the following:
    org/apache/log/format/Formatter
    I can't change it since I do not have access to the class that is referencing this, yet I can't find where the Formatter class is. Does anybody know where I can downloaded it? I tried apache.org and I can only find Log4J stuff? HELP!

    I found these links from Google:
    http://www.google.com/search?hl=en&q=org%2Fapache%2Flog%2Fformat%2FFormatter&btnG=Google+Search
    From the looks of things, this is an interface that is implemented by a bunch of Apache classes.

  • Import theme not working - apache log shows ORA-00942

    Hi,
    I'm doing some development using htmldb v2 (of which I am greatly impressed). Everything is going well, but none of the import facilities seem to work (e.g. import theme, workspace etc). I get Page not found when pressing the Import button with the following in the Apache log:
    mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-404 ORA-00942: table or view does not exist
    The Workspace I'm using is a new one called SBASEW which sits on a schema called SBASEW. I want to transfer a customised theme between two different applications under this Workspace - hence why I want to us the import. I read one thread which suggested it's privileges on wwv_flow_file_object$, but my sbasew schema user can see this table OK. I've checked my DAD against the recommended settings and can't see anything wrong. It is as follows:
    Alias /i/ "c:\OAS10gFRS\Apache\Apache\images/"
    <Location /pls/htmldb>
    SetHandler pls_handler
    Order deny,allow
    Allow from All
    AllowOverride None
    PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
    PlsqlDatabasePassword @BRa0aC4YJbC3UwGhi1Xlfwo=
    PlsqlDatabaseConnectString ziggy NetServiceNameFormat
    PlsqlDefaultPage htmldb
    PlsqlDocumentTablename wwv_flow_file_object$
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlAuthenticationMode Basic
    PlsqlNLSLanguage AMERICAN_AMERICA.WE8MSWIN1252
    </Location>
    Can you help ?
    P.S. As a related question, can you run the theme .sql file in sql*plus by just changing the line which specifies the application ID, i.e.:
    wwv_flow.g_flow_id := 105;
    to
    wwv_flow.g_flow_id := 106;

    Ian,
    Try changing this line:
    PlsqlDocumentTablename wwv_flow_file_object$
    to this:
    PlsqlDocumentTablename wwv_flow_file_objects$
    Thanks,
    - Scott -

  • Archive Log Format Issues

    Hi DBAs,
    I have 2 Archive destination. My archive log format is ARC%S_%R.%T
    But In my 1 location E:\app\Administrator\product\11.1.0\db_1\RDBMS format shows ARC00025_0769191639.001
    2 location shows E:\app\Administrator\flash_recovery_area\BASKAR\ARCHIVELOG\2011_12_08\O1_MF_1_25_7G15PVYX_.ARC
    SQL> select destination from v$archive_dest;
    DESTINATION
    E:\app\Administrator\product\11.1.0\db_1\RDBMS
    USE_DB_RECOVERY_FILE_DEST
    My Question is that, I am using this format only ARC%S_%R.%T
    but it shows different format in each location. May i know what 's the reason behind this?
    Thanks in Advance

    If you are using other archive destination other than FRA it will creates as per LOG_ARCHIVE_FORMAT,
    and the FRA configured then the archive format for FRA is O1_MF_1_25_7G15PVYX_.ARC
    from your query it is clear that there are two destinations are configured, So if you dont want *.ARC* files, you have to disable FRA.
    But recommended to use FRA easy to manage.

  • How to set access.log format to "combined"

    Hello,
    I'm trying to get AWStats working on Solaris and have that working fine, but to get more information, I need to set the log format to "combined".
    Question is: is there a way to modify what is output in the access.log?

    SHOULD I RECOMPILE and specify the access method?
    Should i change line 1131 in db4.cpp to DBTYPE type = DB_QUEUE; ???

  • How can i change asa5520 logging format?

    Hi!
    I have a question about Firewall logging format.
    I use ASA5520, Cisco Adaptive Security Appliance Software Version 8.2(5)  Device Manager Version 6.4(7)
          Now display logging format is "
    %ASA-session-6-302013:
    %ASA-session-6-106015:
    I want change to this logging format "
    %ASA-6-302013:
    %ASA-6-106015:
    only confirured about log command.
              logging enable
              logging emblem
              logging trap debugging
              logging asdm notifications          logging host outside 10.x.x.x 17/30516
    How can i change format?
    thanks !!

    Georgi, the company profile has a Default Locale. Also each user can have their Locale. The US format of MM/DD/YYYY can not be changed to October 6, 2010 as an example.
    I would recommend that you submit a enhancement request to CRM On Demand customer care.

  • The analysis of a Apache log file

    What will you recommend for the analysis of a Apache log file?

    Your favorite text-editor?
    Are you looking for some specific analysis? There surely are tools available for that.
    Can you be more specific in your question, please.
    cu
    Andreas

  • Extended Log Format Issue

    Hello,
    I am rather new to BEA, and I am experiencing a little bit of a problem here. I am trying to configure the access logs in order for them to generate output concerning Browser information. I have gone through and was successfully able to change the configuration to extended. The browser information is now displayed.
    I have one MAJOR problem. When using the common log format, the usernames are logged just fine. But when I changed to the extended format, I only get a value of '-'. I believe all of my configuration is correct according to w3c standards, as I am using 'cs-username' in the '#Fields' directive. I have been searching all over for information reguarding how this field can be documented, but I cannot find anything.
    I have even gone out and tried to configure our apache logs to read this field, and yet I get the same '-' value there as well.
    If anyone could PLEASE help me in this matter, I would greatly appreciate it, as I am going down a river without a paddle on this one.
    Thanks in advance,
    Garret

    <p>Hello,</p>
    <p>Have you read through common log format doc and Enabling and Configuring HTTP Access Logs? Oddly they don't mension cs-username in the supported field identifiers section. You could try the common log format field name: auth_user. Or a custom identifier. I would also raise a support case with BEA if you don't get anywhere to make sure they do actually support this field.</p>
    <p>
    Hussein Badakhchani</br>
    </p>

  • .default files and Apache logs in 10g AS(10.1.2.3)

    Hi Friends,
    I am using Oracle 10g AS (10.1.2.3) and i have some .default files in my Middle Tier and Infra home like
    httpd.conf.default , access.conf.default.....
    Is it safe to remove these files?
    Will these files cause any Vulnerability issue on my server?
    Also will Apache Log files cause Vulnerability issue on my server?
    Please clarify
    Regards,
    DB

    Default files are there as a backup for those files. If you happen to modify your files without saving a copy then this would take you back to how a typical httpd.conf (for instance, or plsql.conf or sso.properties, etc) would look like.
    I do not think they are any greater source of vulnerability than any other backup files you have on your server. I do not delete them either and wouldn't from any of the servers that I administer.
    thanks,
    AMN

  • Landscape formatting question

    Can anyone help me with a formatting question? I have a number of PDFs that are landscape format. Every time I open them they default to portrait, even when I change orientation in page set-up and re-save...

    You are only changing the view, not the pdf. Use the Rotate command in the Document menu, not the view menu.

  • Locale Formatting question

    Locale Formatting question
    In the preceding code the number 50 represent currency.
    The output of NumberFormat is 50 with the local symbol
    The output of DecimalFormat is 50.00 without the local symbol
    The question is how to show 50.00 with the local symbol ???
    import java.text.*;
    import java.math.BigDecimal;
    public class LocalFormating {
    public static void main(String[] args) {
    NumberFormat nf = NumberFormat.getCurrencyInstance();
    DecimalFormat decfs = new DecimalFormat("#,##0.00");
    BigDecimal anumb = new BigDecimal(50);
    String temp = nf.format(anumb);
    System.out.println("local anumb = " +temp);
    String temp2 = decfs.format(anumb);
    System.out.println("Decimal format anumb = " +temp2);

    Locale Formatting question
    In the preceding code the number 50 represent currency.
    The output of NumberFormat is 50 with the local symbol
    The output of DecimalFormat is 50.00 without the local symbol
    The question is how to show 50.00 with the local symbol ???
    import java.text.*;
    import java.math.BigDecimal;
    public class LocalFormating {
    public static void main(String[] args) {
    NumberFormat nf = NumberFormat.getCurrencyInstance();
    DecimalFormat decfs = new DecimalFormat("#,##0.00");
    BigDecimal anumb = new BigDecimal(50);
    String temp = nf.format(anumb);
    System.out.println("local anumb = " +temp);
    String temp2 = decfs.format(anumb);
    System.out.println("Decimal format anumb = " +temp2);

  • Clarification on log format

    Hi all
    I have a confusion regarding the log format of cisco ASA.
    The format of log that I have is
    6|Mar 15 2013 12:01:25|109025: Authorization denied (acl=xxx) for user 'xxxx' from xxx.xx.xx6.53/137 to xxx.xx.xxx.255/137 on interface Outside using UDP
    but according to cisco reference the format should be
    May  2 23:07:23 10.160.205.10 %ASA-6-302015: Authorization denied (acl=xxx) for user 'xxxx' from xxx.xx.xx6.53/137 to xxx.xx.xxx.255/137 on interface Outside using UDP
    I just want to know why my log for mat differs from cisco specification.
    Can anybody please help me??
    thanks
    Bijay

    hi,
    U will find the Char format <BD> in char fomats along with Barcode format.
    if u don't find them there then reimport the script from client 000 and see.
    You can the find that in the Character formats radio button and there itself you can see the barcode option.
    reward if helpful
    regards,
    sravanthi

  • Cascading lookup format questions

    Hi everyone,
       I have a couple of questions regarding formatting the cascading look up fields.  I have a list that filters classes and mnemonics by educator which works fine however on the entry form, when the "Educators" drop down menu is changed,
    a secondary description box appears. The question is, how do I get rid of that secondary description box?
    The second formatting question is that when I have filled out the form, on the edit entry form, there is a hyperlink to the list that the cascading lookup is using as a reference. How do I get rid of that link? See image 002 below

    It's not easy to understand the question, please attach the image here.
    if you mean to achieve a cascade lookup in SharePoint new/edit form, after selecting one column, the cascaded column below will show with filtered value, otherwise, the column is hidden, you may consider to use JavaScript/JQuery to show/hide the second column,
    following is an article about how to use cascaded lookup in SharePoint:
    http://www.sharepointboris.net/js/spcd/
    Qiao Wei <br/> My blog:http://blog.goobol.com

  • Where are the apache logs?

    I need to view the apache logs. How and where do I access them in XE?
    Whoever designed Apache to be hidden inside the database and accessable only through db packages needs to be spanked. If there is a good argument for hiding it all away in the db I'd love to hear it! Why make life harder? It's so easy in Standard and Enterpise DB to configure apache and modplsql.
    Paul

    OK David here goes,
    I'm using ApEx 2.1 on Oracle Express DB.
    I export an application, that works fine. I now want to import it again into the same instance as a copy with a new Application Id. I start the import wizard, click on load and then I get
    "Page can not be found" error.
    I've followed the threads
    import application - wwv_flow_accept page not found and ora-904
    Page not found after import of application
    but I have no idea of how to access the Web server Logs in Oracle Express which is mentioned in the above threads.
    I've just had a look at the import repository and each time I tried to import the file it loaded with 2,065,528 bytes.(i.e. 3 times)
    The actual file size is 4,334 Kb so it seems the import falls over half way each time.
    Any ideas on where to start trouble shooting?
    thanks for your response
    Paul P

  • Apache log analysis for portal page visits etc

    We are about to go into production with Oracle Portal (9iAS rel 9.0.2.0.1).
    I have been looking into how to gather statistics on web site usage and have concluded that I cannot get the information from within portal logs since many pages are served from the cache and there is no interaction with the database at all.
    I think I need to, therefore, analyse the apache log files. Can anyone recommend a good 3rd party product for log analysis? I am also concerned that the portal specific urls might severely limit the usefullness of the data I can extract.
    Has anyone used a log analysis tool in conjunction with Portal or knows of a product with a specific add-on for Oracle Portal (I have seen these for other portals and CMS products).
    Any pointers appreciated, I am completely new to this area.
    Peter.

    Peter,
    You might want to look at the "ClickStream Collector" that is included in a 9iAS installation.
    I'm not sure if it will do what you want with Portal, but it's starting point.
    Good luck!
    Bill G...

Maybe you are looking for

  • Validation in Tabular form column

    Dear All, i am using tabular form (Apex 4.1) to create new project users. i want to apply validation on column of tabular form. i have multiple entry in tabular form .i want to iterate throuh all records to check validation but my code is not iterati

  • Using Excel report in Crystal

    Post Author: tdecicco CA Forum: General We have a report created in Excel that we want to use in Crystal. We've explored the possibility of inserting it as an OLE object, but find it difficult to edit it in Crystal. Is there another way we can use th

  • How to place a customer service complaint

    Hello, I will start of by stating that I have never before felt this way about someone who I have worked with at a Verizon store. .Today I went into a Verizon store looking to understand why my bill seemed high. I wanted to find ways to make the bill

  • Disabling Save A Copy option

    Is it possible to disable the "Save A Copy" option for a pdf document using the security policies in ADC

  • Reseting password for fnd user

    hi i lost my sysadmin password for old instance i want to reset it from backend.How can i reset it.pls hlp rgds rajesh