Overwriting log file

Hi, I am creating a webserver which records requests and the time of the request in a log file. I have tried everything what I know to get to the end of the file but not succeeded. Each request overwrites the previous request in the log file. Please could you help
Many Thanks
import java.io.*;
import java.net.*;
import java.util.*;
import java.text.*;
class WebServer extends Thread
public static void main(String[] args) throws Exception
String requestMessageLine;
String fileName;
Date today;
today = new Date();
ServerSocket listenSocket = new ServerSocket(8080);
while(true) {
Socket connectionSocket = listenSocket.accept();
BufferedReader inFromClient =
new BufferedReader(new InputStreamReader(
connectionSocket.getInputStream()));
DataOutputStream outToClient =
new DataOutputStream(
connectionSocket.getOutputStream());
requestMessageLine = inFromClient.readLine();
StringTokenizer tokenizedLine =
new StringTokenizer(requestMessageLine);
if (tokenizedLine.nextToken().equals("GET"))
fileName = tokenizedLine.nextToken();
if ( fileName.startsWith("/")==true )
fileName = fileName.substring(1);
File file = new File(fileName);
int numOfBytes = (int)file.length();
FileInputStream inFile = new FileInputStream(fileName);
byte[] fileInBytes = new byte[numOfBytes];
inFile.read(fileInBytes);
/* Send the HTTP header */
outToClient.writeBytes("HTTP/1.1 200 Document Follows\r\n");
if (fileName.endsWith(".jpg"))
outToClient.writeBytes("Content-Type: image/jpeg\r\n");
if (fileName.endsWith(".jpeg"))
outToClient.writeBytes("Content-Type: image/jpeg\r\n");
if (fileName.endsWith(".gif"))
outToClient.writeBytes("Content-Type: image/gif\r\n");
if (fileName.endsWith(".html"))
outToClient.writeBytes("Content-Type: text/html\r\n");
if (fileName.endsWith(".htm"))
outToClient.writeBytes("Content-Type: text/html\r\n");
outToClient.writeBytes("Content-Length: " + numOfBytes + "\r\n");
outToClient.writeBytes("\r\n");
/* Now send the actual data */
outToClient.write(fileInBytes, 0, numOfBytes);
connectionSocket.close();
else
System.out.println("Bad Request Message");
try {
FileInputStream inlog = new FileInputStream("log.txt");
System.out.println(requestMessageLine);
String a =("FILE: " + requestMessageLine + " DATE/TIME: " + today );
// oo.writeUTF(a);
FileOutputStream log = new FileOutputStream(a "log.txt", boolean append);
DataOutputStream oo = new DataOutputStream(log);
PrintStream myOutput = new PrintStream(log);
myOutput.println("FILE: " + requestMessageLine + " DATE/TIME: " + today);
catch (IOException e) {
System.out.println("Error opening file: " + e);
System.exit(1);
}

this line:FileOutputStream log = new FileOutputStream(a "log.txt", boolean append);wouldn't compile?? SHouldn't it read:FileOutputStream log = new FileOutputStream("log.txt", true);

Similar Messages

  • How to overwrite/remove log files?

    MaxDB Version: 7.5.0.0(That comes with WebAS6.4 - EP6 sp9 test version)
    OS : Windows XP Pro.
    I logined to the webdbm.
    http://<host>:9999/webdbm
    It shows that log is 100%(When it is <I>online</I>). So I want to either delete the log file or to overwrite. AUTOLOG shows it is OFF.
    I could not change log mode from left navigation links.
    I alloted only 1000MB for logs while installation.
    Any Thoughts?
    Thanks
    Ajay

    Roland,
    Thanks for ur immediate response.
    I am just working on test version on my local system. I don't care abt the log files. Just I need  someway to free the log area.
    C:Documents and Settingsone>dbmcli -d j2e -u control,control set logwriter off
    ERR
    -24977,ERR_COMMAND: unknown command "set"
    Can u please give me the steps for (atleast) one method?
    Thanks
    Ajay

  • Steps to empty SAPDB (MaxDB) log file

    Hello All,
    i am on Redhat Unix Os with NW 7.1 CE and SAPDB as Back end. I am trying to login but my log file is full. Ii want to empty log file but i havn't done any data backup yet. Can anybody guide me how toproceed to handle this problem.
    I do have some idea what to do like the steps below
    1.  take databackup (but i want to skip this step if possible) since this is a QA system and we are not a production company.
    2. Take log backup using same methos as data backup but with Log type (am i right or there is somethign else)
    3. It will automatically overwrite log after log backups.
    or should i use this as an alternative, i found this in note Note 869267 - FAQ: SAP MaxDB LOG area
    Can the log area be overwritten cyclically without having to make a log backup?
    Yes, the log area can be automatically overwritten without log backups. Use the DBM command
    util_execute SET LOG AUTO OVERWRITE ON
    to set this status. The behavior of the database corresponds to the DEMO log mode in older versions. With version 7.4.03 and above, this behavior can be set online.
    Log backups are not possible after switching on automatic overwrite. Backup history is broken down and flagged by the abbreviation HISTLOST in the backup history (dbm.knl file). The backup history is restarted when you switch off automatic overwrite without log backups using the command
    util_execute SET LOG AUTO OVERWRITE OFF
    and by creating a complete data backup in the ADMIN or ONLINE status.
    Automatic overwrite of the log area without log backups is NOT suitable for production operation. Since no backup history exists for the following changes in the database, you cannot track transactions in the case of recovery.
    any reply will be highly appreciated.
    Thanks
    Mani

    Hello Mani,
    1. Please review the document u201CUsing SAP MaxDB X Server Behind a Firewallu201D at MAXDB library
    http://maxdb.sap.com/doc/7_7/44/bbddac91407006e10000000a155369/content.htm
               u201CTo enable access to X Server (and thus the database) behind a firewall using a client program such as Database Studio, open the necessary ports in your  firewall and restrict access to these ports to only those computers that need to access the database.u201D
                 Is the database server behind a Firewall? If yes, then the Xserver port need to be open. You could restrict access to this port to the computers of your database administrators, for example.
    Is "nq2host" the name of the database server? Could you ping to the server "nq2host" from your machine?
    2. And if the database server and your PC in the local area NetWork you could start the x_server on the database server & connect to the database using the DB studio on your PC, as you already told by Lars.
    See the document u201CNetwork Communicationu201D at
    http://maxdb.sap.com/doc/7_7/44/d7c3e72e6338d3e10000000a1553f7/content.htm
    Thank you and best regards, Natalia Khlopina

  • Empty Log File - log settings will not save

    Description of Problem or Question:
    Cannot get logging to work in folder D:\Program Files\Business Objects\Dashboard and Analytics 12.0\server\log
    (empty log file is created)
    Product\Version\Service Pack\Fixpack (if applicable):
    BO Enterorise 12.0
    Relevant Environment Information (OS & version, java or .net & version, DB & version):
    Server: windows Server 2003 Enterprise SP2.
    Database Oracle 10g
    Client : Vista
    Sporadic or Consistent (if applicable):
    Consistent
    What has already been tried (where have you searched for a solution to your question/problem):
    Searched forum, SMP
    Steps to Reproduce (if applicable):
    From InfoViewApp, logged in as Admin
    Open ->Dashboard and Analytics Setp -> Parameters -> Trace
    Check "Log to folder" and "SQL Queries", Click Apply.
    Now, navigate away and return to this page - the "Log to folder" is unchecked. Empty log file is created.

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer
    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.systempreferences.plist. Move the .plist to your desktop.
    Restart, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • How do I turn off |INFO| entries in my server.log files?

    Sun Java System Application Server 8.2
    How do I turn off |INFO| entries in my server.log files? Is this a setting in the admin console that I am over looking?
    Thanks,
    --Todd
    [#|2006-06-01T09:48:43.776-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- undeploy web/transactionbrowser]|#]
    [#|2006-06-01T09:48:44.855-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=11;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2006-06-01T09:48:44.949-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-removed transactionbrowser]|#]
    [#|2006-06-01T09:48:45.011-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2006-06-01T09:48:45.121-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=13;|Total Deployment Time: 16 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]
    [#|2006-06-01T09:48:46.403-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=14;|DPL5109: EJBC - START of EJBC for [transactionbrowser]|#]
    [#|2006-06-01T09:48:46.403-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=14;|Processing beans ...|#]
    [#|2006-06-01T09:48:46.418-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=14;|DPL5110: EJBC - END of EJBC for [transactionbrowser]|#]
    [#|2006-06-01T09:48:46.637-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=14;|Total Deployment Time: 813 msec, Total EJB Compiler Module Time: 15 msec, Portion spent EJB Compiling: 1%
    Breakdown of EJBC Module Time: Total Time for EJBC: 15 msec, CMP Generation: 0 msec (0%), Java Compilation: 0 msec (0%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 0 msec (0%),
    |#]
    [#|2006-06-01T09:48:46.731-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=14;|deployed with moduleid = transactionbrowser|#]
    [#|2006-06-01T09:48:46.950-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=13;|ADM1041:Sent the event to instance:[ApplicationDeployEvent -- reference-added transactionbrowser]|#]
    [#|2006-06-01T09:48:46.997-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=13;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2006-06-01T09:48:47.028-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=15;|ADM1041:Sent the event to instance:[ModuleDeployEvent -- deploy web/transactionbrowser]|#]
    [#|2006-06-01T09:48:47.044-0500|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=15;|WEB0100: Loading web module [transactionbrowser] in virtual server [server] at [transactionbrowser]|#]
    [#|2006-06-01T09:48:48.733-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal)|#]
    [#|2006-06-01T09:48:48.748-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger)|#]
    [#|2006-06-01T09:48:48.889-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandButton)|#]
    [#|2006-06-01T09:48:48.889-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandLink)|#]
    [#|2006-06-01T09:48:48.905-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlDataTable)|#]
    [#|2006-06-01T09:48:48.905-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputHidden)|#]
    [#|2006-06-01T09:48:48.905-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputSecret)|#]
    [#|2006-06-01T09:48:48.905-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputText)|#]
    [#|2006-06-01T09:48:48.905-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputTextHelp)|#]
    [#|2006-06-01T09:48:48.905-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputTextarea)|#]
    [#|2006-06-01T09:48:48.905-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlGraphicImage)|#]
    [#|2006-06-01T09:48:48.920-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlMessage)|#]
    [#|2006-06-01T09:48:48.920-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlMessages)|#]
    [#|2006-06-01T09:48:48.920-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlOutputLabel)|#]
    [#|2006-06-01T09:48:48.920-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlOutputText)|#]
    [#|2006-06-01T09:48:48.920-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlPanelGrid)|#]
    [#|2006-06-01T09:48:48.920-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlPanelGroup)|#]
    [#|2006-06-01T09:48:48.936-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlSelectBooleanCheckbox)|#]
    [#|2006-06-01T09:48:48.936-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlSelectManyCheckbox)|#]
    [#|2006-06-01T09:48:48.936-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlSelectManyListbox)|#]
    [#|2006-06-01T09:48:48.936-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlSelectManyMenu)|#]
    [#|2006-06-01T09:48:48.936-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlSelectOneListbox)|#]
    [#|2006-06-01T09:48:48.936-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlSelectOneMenu)|#]
    [#|2006-06-01T09:48:48.936-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlSelectOneRadio)|#]
    [#|2006-06-01T09:48:48.952-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.AliasBean)|#]
    [#|2006-06-01T09:48:48.952-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.AliasBeansScope)|#]
    [#|2006-06-01T09:48:48.952-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.Buffer)|#]
    [#|2006-06-01T09:48:48.952-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.Document)|#]
    [#|2006-06-01T09:48:48.952-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.DocumentHead)|#]
    [#|2006-06-01T09:48:48.952-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.DocumentBody)|#]
    [#|2006-06-01T09:48:48.967-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.Div)|#]
    [#|2006-06-01T09:48:48.967-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCheckbox)|#]
    [#|2006-06-01T09:48:48.967-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlColumn)|#]
    [#|2006-06-01T09:48:48.967-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlColumns)|#]
    [#|2006-06-01T09:48:48.967-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandNavigation)|#]
    [#|2006-06-01T09:48:48.967-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandNavigationItem)|#]
    [#|2006-06-01T09:48:48.967-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandSortHeader)|#]
    [#|2006-06-01T09:48:48.983-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlHeaderLink)|#]
    [#|2006-06-01T09:48:48.983-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputCalendar)|#]
    [#|2006-06-01T09:48:48.999-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputDate)|#]
    [#|2006-06-01T09:48:48.999-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputFileUpload)|#]
    [#|2006-06-01T09:48:48.999-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlDataList)|#]
    [#|2006-06-01T09:48:48.999-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlDataScroller)|#]
    [#|2006-06-01T09:48:48.999-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlJsValueSet)|#]
    [#|2006-06-01T09:48:49.014-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlNewspaperTable)|#]
    [#|2006-06-01T09:48:49.014-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCollapsiblePanel)|#]
    [#|2006-06-01T09:48:49.014-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlPanelLayout)|#]
    [#|2006-06-01T09:48:49.030-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlPanelNavigation)|#]
    [#|2006-06-01T09:48:49.030-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlPanelNavigationMenu)|#]
    [#|2006-06-01T09:48:49.030-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlPanelStack)|#]
    [#|2006-06-01T09:48:49.030-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlPanelTab)|#]
    [#|2006-06-01T09:48:49.030-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlPanelTabbedPane)|#]
    [#|2006-06-01T09:48:49.030-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlPopup)|#]
    [#|2006-06-01T09:48:49.045-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlRadio)|#]
    [#|2006-06-01T09:48:49.045-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlSwapImage)|#]
    [#|2006-06-01T09:48:49.045-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlTag)|#]
    [#|2006-06-01T09:48:49.045-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlTree)|#]
    [#|2006-06-01T09:48:49.045-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlTree2)|#]
    [#|2006-06-01T09:48:49.045-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlTreeCheckbox)|#]
    [#|2006-06-01T09:48:49.045-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlTreeColumn)|#]
    [#|2006-06-01T09:48:49.061-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlTreeImageCommandLink)|#]
    [#|2006-06-01T09:48:49.061-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlTreeNode)|#]
    [#|2006-06-01T09:48:49.061-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.InputHtml)|#]
    [#|2006-06-01T09:48:49.061-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.JSCookMenu)|#]
    [#|2006-06-01T09:48:49.061-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.JsValueChangeListener)|#]
    [#|2006-06-01T09:48:49.061-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.NavigationMenuItem)|#]
    [#|2006-06-01T09:48:49.077-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.SaveState)|#]
    [#|2006-06-01T09:48:49.077-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.SelectOneCountry)|#]
    [#|2006-06-01T09:48:49.077-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.SelectOneLanguage)|#]
    [#|2006-06-01T09:48:49.077-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ComponentRule]{faces-config/component} Merge(org.apache.myfaces.Stylesheet)|#]
    [#|2006-06-01T09:48:49.077-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal)|#]
    [#|2006-06-01T09:48:49.077-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger)|#]
    [#|2006-06-01T09:48:49.092-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ConverterRule]{faces-config/converter} Merge(null,java.util.Date)|#]
    [#|2006-06-01T09:48:49.092-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ConverterRule]{faces-config/converter} Merge(null,[Ljava.lang.String;)|#]
    [#|2006-06-01T09:48:49.092-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ConverterRule]{faces-config/converter} Merge(null,org.apache.myfaces.custom.fileupload.UploadedFile)|#]
    [#|2006-06-01T09:48:49.233-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ValidatorRule]{faces-config/validator} Merge(org.apache.myfaces.validator.CreditCard)|#]
    [#|2006-06-01T09:48:49.233-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ValidatorRule]{faces-config/validator} Merge(org.apache.myfaces.validator.Email)|#]
    [#|2006-06-01T09:48:49.233-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ValidatorRule]{faces-config/validator} Merge(org.apache.myfaces.validator.Equal)|#]
    [#|2006-06-01T09:48:49.233-0500|WARNING|sun-appserver-pe8.2|org.apache.commons.digester.Digester|_ThreadID=15;|[ValidatorRule]{faces-config/validator} Merge(org.apache.myfaces.validator.RegExpr)|#]
    [#|2006-06-01T09:48:49.515-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.config.FacesConfigurator|_ThreadID=15;|Reading standard config org/apache/myfaces/resource/standard-faces-config.xml|#]
    [#|2006-06-01T09:48:49.702-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.config.FacesConfigurator|_ThreadID=15;|Reading config jar:file:/C:/AppServer/domains/domain1/lib/tomahawk-1.1.2.jar!/META-INF/faces-config.xml|#]
    [#|2006-06-01T09:48:49.968-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.config.FacesConfigurator|_ThreadID=15;|Reading config jar:file:/C:/javaworkspace/petroadmin/transactionbrowser/build/web/WEB-INF/lib/tomahawk-1.1.2.jar!/META-INF/faces-config.xml|#]
    [#|2006-06-01T09:48:50.343-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.config.FacesConfigurator|_ThreadID=15;|Reading config /WEB-INF/faces-config.xml|#]
    [#|2006-06-01T09:48:50.359-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Command rendererType = javax.faces.Button renderer class = org.apache.myfaces.renderkit.html.jsf.DummyFormHtmlButtonRenderer|#]
    [#|2006-06-01T09:48:50.359-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Command rendererType = javax.faces.Link renderer class = org.apache.myfaces.renderkit.html.jsf.DummyFormHtmlLinkRenderer|#]
    [#|2006-06-01T09:48:50.359-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Command rendererType = javax.faces.Button renderer class = org.apache.myfaces.renderkit.html.jsf.DummyFormHtmlButtonRenderer|#]
    [#|2006-06-01T09:48:50.359-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Command rendererType = javax.faces.Link renderer class = org.apache.myfaces.renderkit.html.jsf.DummyFormHtmlLinkRenderer|#]
    [#|2006-06-01T09:48:50.359-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Command rendererType = org.apache.myfaces.Button renderer class = org.apache.myfaces.renderkit.html.ext.HtmlButtonRenderer|#]
    [#|2006-06-01T09:48:50.359-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Command rendererType = org.apache.myfaces.Link renderer class = org.apache.myfaces.renderkit.html.ext.HtmlLinkRenderer|#]
    [#|2006-06-01T09:48:50.359-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.Table renderer class = org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Panel rendererType = org.apache.myfaces.Grid renderer class = org.apache.myfaces.renderkit.html.ext.HtmlGridRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Panel rendererType = org.apache.myfaces.Group renderer class = org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.Secret renderer class = org.apache.myfaces.renderkit.html.ext.HtmlSecretRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Graphic rendererType = org.apache.myfaces.Image renderer class = org.apache.myfaces.renderkit.html.ext.HtmlImageRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.Text renderer class = org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.TextHelp renderer class = org.apache.myfaces.custom.inputTextHelp.HtmlTextHelpRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.Textarea renderer class = org.apache.myfaces.renderkit.html.ext.HtmlTextareaRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Message rendererType = org.apache.myfaces.Message renderer class = org.apache.myfaces.renderkit.html.ext.HtmlMessageRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Messages rendererType = org.apache.myfaces.Messages renderer class = org.apache.myfaces.renderkit.html.ext.HtmlMessagesRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Output rendererType = org.apache.myfaces.Text renderer class = org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.SelectBoolean rendererType = org.apache.myfaces.Checkbox renderer class = org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.SelectMany rendererType = org.apache.myfaces.Checkbox renderer class = org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.SelectOne rendererType = org.apache.myfaces.Menu renderer class = org.apache.myfaces.renderkit.html.ext.HtmlMenuRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.SelectMany rendererType = org.apache.myfaces.Menu renderer class = org.apache.myfaces.renderkit.html.ext.HtmlMenuRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.SelectOne rendererType = org.apache.myfaces.Listbox renderer class = org.apache.myfaces.renderkit.html.ext.HtmlListboxRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.SelectMany rendererType = org.apache.myfaces.Listbox renderer class = org.apache.myfaces.renderkit.html.ext.HtmlListboxRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.SelectOne rendererType = org.apache.myfaces.Radio renderer class = org.apache.myfaces.renderkit.html.ext.HtmlRadioRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.AliasBean renderer class = org.apache.myfaces.custom.aliasbean.AliasBeanRenderer|#]
    [#|2006-06-01T09:48:50.375-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.AliasBeansScope renderer class = org.apache.myfaces.custom.aliasbean.AliasBeansScopeRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.Buffer renderer class = org.apache.myfaces.custom.buffer.BufferRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.Document renderer class = org.apache.myfaces.custom.document.DocumentRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.DocumentHead renderer class = org.apache.myfaces.custom.document.DocumentHeadRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Data rendererType = org.apache.myfaces.DocumentBody renderer class = org.apache.myfaces.custom.document.DocumentBodyRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = org.apache.myfaces.Checkbox rendererType = org.apache.myfaces.Checkbox renderer class = org.apache.myfaces.renderkit.html.ext.HtmlCheckboxRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Panel rendererType = org.apache.myfaces.DataScroller renderer class = org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.Calendar renderer class = org.apache.myfaces.custom.calendar.HtmlCalendarRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.Date renderer class = org.apache.myfaces.custom.date.HtmlDateRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.FileUpload renderer class = org.apache.myfaces.custom.fileupload.HtmlFileUploadRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myfaces.renderkit.html.HtmlRenderKitImpl|_ThreadID=15;|Overwriting renderer with family = javax.faces.Input rendererType = org.apache.myfaces.InputHtml renderer class = org.apache.myfaces.custom.inputHtml.InputHtmlRenderer|#]
    [#|2006-06-01T09:48:50.390-0500|INFO|sun-appserver-pe8.2|org.apache.myf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           &

    This path is not available for
    Sun Java System Application Server Platform Edition
    9.0 (build b48)
    There is no server-config under Configurations. Do
    you know how to do this for this version of the app
    server?Right.
    There is only one "config" available for Platform Edition. So, can
    you try:
    - Click on Application Server in the left panel.
    - Right hand side, third tab is "Logging". Click there.
    - Second tab below is Log Levels. You can see various component
    (module) log levels there. The default is "INFO" for all.
    I tested this on 9.0 PE - b48.
    Hope this helps.
    Kedar

  • How to remove log file on maxdb

    Hi,
    I have installed IDES ECC 5.0 on MaxDB 7.5. I have 4 files size of 1 GB and I would like to remove it.
    Is it possible to remove log files without Complete Data Backup procedure in Database Manager?
    Is it helpfull to switch database in Overwrite Log Mode?
    We use a testing sistem without needs for recovery procedures.
    Regards,
    Aleksandar

    Hi,
    you should not delete the logvolumes.
    For your case it would suffice to switch on the auto-overwrite mode of the log.
    You can do this most conveniently by using the Database Manager GUI.
    1. Put the DB instance in state ADMIN
    2. Goto 'COnfiguration' -> 'Log Settings'.
    3. From the wizard select 'Overwrite Mode...' and follow the described follow-ups.
    Kind regards,
    Roland

  • Overwriting the File in File Adapter

    Hi All,
    I hav a module processor (in Receiver file Adapter)which checks the existence of the file by name DOWN.flg befor writing the file by the same name at the same location. if the file already exists, then it has to wait until another system deletes (as per the requirement). if not, it has to write the file. I had done this successfully with an FTP receiver. but when i'm moving the same functionality to the local drive(now the receiver is a local directory on the XI Server), then i'm getting the following error.
    <b>Error</b>:Attempt to process file failed with java.lang.Exception: Overwriting file '/cpe/data/DEV/XI_/IN/APD/Commander/DOWN.flg' not allowed due to configuration flag
    <b>Error:</b>
    Exception caught by adapter framework: Overwriting file '/cpe/data/DEV/XI_/IN/APD/Commander/DOWN.flg' not allowed due to configuration flag
    these are the errors which i found in the audit log. i din't check the overwrite Existing File option in the Receiver adapter.Can anyone help me out in resolving this.
    Anyhelp wud  b greately apprecited...
    Thnx in Advance.

    Hello Jayakrishnan,
    Thank you very much for the tip, actualy it was very tricky, since the overwrite existing file option is not possible in the "append" mode on my XI version (SP12). THis is what we have done :
    - modify the communication channel to "create" mode and check the "overwrite existing file option".
    - activate it
    - chanche back to the "append" mode
    - activate it again
    And then it works !
    Thanks for your help
    Guislain

  • Log file's format in expdp\impdp

    Hi all,
    I need to set log file format for expdp\impdp utility. I have this format for my dump file - filename=<name>%U.dmp which generates unique names for dump files. How can i generate unique names for log files? It'd better if dump file name and log file names will be the same.
    Regards,
    rustam_tj

    Hi Srini, thanks for advice.
    I read doc which you suggest me. The only thing which i found there is:
    Log files and SQL files overwrite previously existing files.
    So i cant keep previos log files?
    My OS is HP-UX (11.3) and database version is 10.2.0.4
    Regards,
    rustam

  • Why is there no error when checkpointing after db log files are removed?

    I would like to test a scenario when an application's embedded database is corrupted somehow. The simplest test I could think of was removing the database log files while the application is running. However, I can't seem to get any failure. To demonstrate, below is a code snippet that demonstrates what I am trying to do. (I am using JE 3.3.75 on Mac OS 10.5.6):
    public class FileRemovalTest {
    public static void main(String[] args) throws Exception
    // Setup the DB Environment
    EnvironmentConfig ec = new EnvironmentConfig();
    ec.setAllowCreate(true);
    ec.setTransactional(true);
    ec.setConfigParam(EnvironmentConfig.ENV_RUN_CLEANER, "false");
    ec.setConfigParam(EnvironmentConfig.ENV_RUN_CHECKPOINTER, "false");
    ec.setConfigParam(EnvironmentConfig.CLEANER_EXPUNGE, "true");
    ec.setConfigParam("java.util.logging.FileHandler.on", "true");
    ec.setConfigParam("java.util.logging.level", "FINEST");
    Environment env = new Environment(new File("."), ec);
    // Create a database
    DatabaseConfig dbConfig = new DatabaseConfig();
    dbConfig.setAllowCreate(true);
    dbConfig.setTransactional(true);
    Database db = env.openDatabase(null, "test", dbConfig);
    // Insert an entry and checkpoint the database
    db.put(
    null,
    new DatabaseEntry("key".getBytes()),
    new DatabaseEntry("value".getBytes()));
    CheckpointConfig checkpointConfig = new CheckpointConfig();
    checkpointConfig.setForce(true);
    env.checkpoint(checkpointConfig);
    // Delete the DB log files
    File[] dbFiles = new File(".").listFiles(new DbFilenameFilter());
    if (dbFiles != null)
    for (File file : dbFiles)
    file.delete();
    // Add another entry and checkpoint the database again.
    db.put(
    null,
    new DatabaseEntry("key2".getBytes()),
    new DatabaseEntry("value2".getBytes())
    {color:#ff0000} *// Q: Why does this 'put' succeed?*
    {color}
    env.checkpoint(checkpointConfig);
    {color:#ff0000}*// Q: Why does this checkpoint succeed?*{color}
    // Close the database and the environment
    db.close();
    env.close();
    private static class DbFilenameFilter implements FilenameFilter
    public boolean accept(File dir, String name) {
    return name.endsWith(".jdb");
    This is what I see in the logs:
    2009-03-05 12:53:30:631:CST CONFIG Recovery w/no files.
    2009-03-05 12:53:30:677:CST FINER Ins: bin=2 ln=1 lnLsn=0x0/0xe9 index=0
    2009-03-05 12:53:30:678:CST FINER Ins: bin=5 ln=4 lnLsn=0x0/0x193 index=0
    2009-03-05 12:53:30:688:CST FINE Commit:id = 1 numWriteLocks=1 numReadLocks = 0
    2009-03-05 12:53:30:690:CST FINEST size interval=0 lastCkpt=0x0/0x0 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:703:CST FINER Ins: bin=8 ln=7 lnLsn=0x0/0x48b index=0
    2009-03-05 12:53:30:704:CST CONFIG Checkpoint 1: source=recovery success=true nFullINFlushThisRun=4 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:705:CST CONFIG Recovery finished: Recovery Infonull&gt; useMinReplicatedNodeId=0 useMaxNodeId=0 useMinReplicatedDbId=0 useMaxDbId=0 useMinReplicatedTxnId=0 useMaxTxnId=0 numMapINs=0 numOtherINs=0 numBinDeltas=0 numDuplicateINs=0 lnFound=0 lnNotFound=0 lnInserted=0 lnReplaced=0 nRepeatIteratorReads=0
    2009-03-05 12:53:30:709:CST FINEST Environment.open: name=test dbConfig=allowCreate=true
    exclusiveCreate=false
    transactional=true
    readOnly=false
    duplicatesAllowed=false
    deferredWrite=false
    temporary=false
    keyPrefixingEnabled=false
    2009-03-05 12:53:30:713:CST FINER Ins: bin=2 ln=10 lnLsn=0x0/0x7be index=1
    2009-03-05 12:53:30:714:CST FINER Ins: bin=5 ln=11 lnLsn=0x0/0x820 index=1
    2009-03-05 12:53:30:718:CST FINE Commit:id = 2 numWriteLocks=0 numReadLocks = 0
    2009-03-05 12:53:30:722:CST FINEST Database.put key=107 101 121 data=118 97 108 117 101
    2009-03-05 12:53:30:728:CST FINER Ins: bin=13 ln=12 lnLsn=0x0/0x973 index=0
    2009-03-05 12:53:30:729:CST FINE Commit:id = 3 numWriteLocks=1 numReadLocks = 0
    2009-03-05 12:53:30:729:CST FINEST size interval=0 lastCkpt=0x0/0x581 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:735:CST FINER Mod: bin=5 ln=4 lnIdx=0 oldLnLsn=0x0/0x193 newLnLsn=0x0/0xb61
    2009-03-05 12:53:30:736:CST FINER Mod: bin=5 ln=11 lnIdx=1 oldLnLsn=0x0/0x820 newLnLsn=0x0/0xc3a
    2009-03-05 12:53:30:737:CST FINER Ins: bin=8 ln=15 lnLsn=0x0/0xd38 index=0
    2009-03-05 12:53:30:738:CST CONFIG Checkpoint 2: source=api success=true nFullINFlushThisRun=6 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:741:CST FINEST Database.put key=107 101 121 50 data=118 97 108 117 101 50
    2009-03-05 12:53:30:742:CST FINER Ins: bin=13 ln=16 lnLsn=0x0/0xeaf index=1
    2009-03-05 12:53:30:743:CST FINE Commit:id = 4 numWriteLocks=1 numReadLocks = 0
    2009-03-05 12:53:30:744:CST FINEST size interval=0 lastCkpt=0x0/0xe32 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:746:CST FINER Mod: bin=5 ln=4 lnIdx=0 oldLnLsn=0x0/0xb61 newLnLsn=0x0/0x1166
    2009-03-05 12:53:30:747:CST FINER Mod: bin=5 ln=11 lnIdx=1 oldLnLsn=0x0/0xc3a newLnLsn=0x0/0x11e9
    2009-03-05 12:53:30:748:CST FINER Ins: bin=8 ln=17 lnLsn=0x0/0x126c index=0
    2009-03-05 12:53:30:748:CST CONFIG Checkpoint 3: source=api success=true nFullINFlushThisRun=4 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:750:CST FINEST Database.close: name=test
    2009-03-05 12:53:30:751:CST FINE Close of environment . started
    2009-03-05 12:53:30:751:CST FINEST size interval=0 lastCkpt=0x0/0x1363 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:754:CST FINER Mod: bin=5 ln=4 lnIdx=0 oldLnLsn=0x0/0x1166 newLnLsn=0x0/0x14f8
    2009-03-05 12:53:30:755:CST FINER Mod: bin=5 ln=11 lnIdx=1 oldLnLsn=0x0/0x11e9 newLnLsn=0x0/0x15a9
    2009-03-05 12:53:30:756:CST FINER Ins: bin=8 ln=18 lnLsn=0x0/0x16ab index=0
    2009-03-05 12:53:30:757:CST CONFIG Checkpoint 4: source=close success=true nFullINFlushThisRun=4 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:757:CST FINE About to shutdown daemons for Env .

    Hi,
    OS X, being Unix-like, probably isn't actually deleting file 00000000.jdb since JE still has it open -- the file deletion is deferred until it is closed. JE keeps N files open, where N is configurable.
    We do corruption testing ourselves, in the following test by overwriting a file and then attempting to read back the entire database:
    test/com/sleepycat/je/util/DbScavengerTest.java
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Shrink Log File on MS sql 2005

    Hi all,
    My DB has a huge logfile, with more than 100gb.
    The idea is to shrink it, but the good way.
    I was trying this way:
    use P01
    go
    backup log P01 TO DISK = 'D:\P01LOG1\P01LOG1.bak'
    go
    dbcc shrinkfile (P01LOG1,250) with no_infomsgs
    go
    The problem is that the backup file is getting bigger and bigger each backup.
    So, my question is, how to shrink the logfile, correctly, with backup, but that backup should not increase but stay at the same level, overwriting the backups.
    I have full dayly backup with data protector from HP, but it doesn't clean the log, and it isn't possible to shrink it.

    What you want to do with the log backups depends on how you are going to recover the database in case the system/database loss and your backup schedule.
    1. If you are not going to do point in time recovery then there is no point in taking a tran log backup to a backup file. You can change the recovery model of the database to "simple". If your recovery model is "simple" you don't have to take transaction log backups at all. The inactive transactions are flushed from the log automatically. You should still be taking full and differential backups so that you can atleast recover your database to last full backup and apply the latest differential backup.
    2. If this is a production system then you should definitly be on "full" recovery mode and should be taking regular transaction log backups and storing them in a safe place so that you can use them to recover your system to any point in time. Storing the transaction log backup on the same server kind of defeats the purpose because if you lost the server and disks you will not have the backups either.
    3. If you are in full recovery mode and lets assume that you run your transaction log backups every 30 mins then you need your log file to be of the size that can handle the transactions that happen in any given 30 to 60 mins.
    There shouldn't be a need to constantly shrink log files if you configure things right.
    Edited by: Neeraj Nagpal on Aug 20, 2010 2:48 AM

  • Log files and theirs statuses

    Hello there.
    I'm on sp06 and would like to clear the air regarding log file backups.
    Since here i have my own partner's company's sandbox, therefore there is no need to deal with log file backups, we perform sandbox backup based on weekly basis. If I go to /usr/sap/STS/STS16/backup/log where STS is our system's ID and 16 system's number, then I see bunch of logs that basically are not needed.
    Log_mode has been set to overwrite since there is no need to use high availability system or 'recover in time' recovery method.
    Enable_auto_log_backup has value no
    and also it seems that i need to set Log_backup_timeout parameter to 0 in order to disable logging
    So, my question is - why system still generates these log files that are not needed, am i missing something? Or these are just statuses when information from undo log files are being written from memory to persistent disc massive? If so, then i can delete all these in order to save disk space
    regards, Mikers

    I've set the logfile name to temp, and as you say a new uniquely named file is generated each time. However, the file is always empty (ie no System.out is actually logged). Note logging does work when I specify a filename other than temp.
    Any ideas?

  • ColdFusion 11 REST warnings in log file?

    I'm building a RESTful API with ColdFusion 11.  Today I noticed there are a ton of warnings being logged to the coldfusion-error log file.  For example:
    Mar 04, 2015 8:09:52 AM com.sun.jersey.spi.inject.Errors processErrorMessages
    WARNING: The following warnings have been detected with resource and/or provider classes:
    WARNING: A HTTP GET method, public void api.Country.GetCountry() throws coldfusion.xml.rpc.CFCInvocationException, MUST return a non-void type.
    WARNING: A HTTP GET method, public void api.Log.GetLog(java.lang.Double) throws coldfusion.xml.rpc.CFCInvocationException, MUST return a non-void type.
    WARNING: A HTTP GET method, public void api.Logout.LogoutUser(java.lang.Double) throws coldfusion.xml.rpc.CFCInvocationException, MUST return a non-void type.
    Here is one of my API endpoint functions:
    <cfcomponent restpath="country" rest="true" output="false" extends="cfc.data">
         <cffunction name="getCountry" access="remote" output="false" httpmethod="get" returntype="void">
              <cfset LOCAL.countryData = getCountryData()>
              <cfset LOCAL.restResponse = StructNew()>
              <cfset restResponse = REQUEST.apiObj.response(200, countryData)>
              <cfset restSetResponse(restResponse)>
         </cffunction>
    </cfcomponent>
    My understanding is that returntype=void is a MUST in order to use restSetResponse().  This code works great, but the warnings in the log file don't make sense to me. 
    Am I doing something wrong? 
    Or is this some sort of "gap" where logging isn't factoring in REST services/functionality? 
    Is it possible to disable warning messages from getting logged? 
    Thank you!
    Brian White

    Is it possible that the application log on your production
    server is not
    configured to overwrite events as needed? Are other
    non-ColdFusion
    application events being logged?
    Carl
    aUniqueScreenName wrote:
    > I'm using Coldfusion version 7,0,2,142559 on a windows
    2003 server with IIS6
    > (my prod box). A little over a month ago CF stopped
    putting entries into the
    > application.log file. Even when errors do occur that
    should be logged
    > application.log has nothing. I've gone through every
    windows/cf/jrun log I
    > could find and found nothing to indicate any problems at
    the time of the last
    > entry. Also no CF or windows updates were done around
    that time.
    >
    > I have a development box setup exactly the same and it
    does not exhibit the
    > same problem. I can cause errors on the dev box and they
    get logged in
    > application.log. Yet when I do the same thing on my prod
    box nothing gets
    > logged. I've compared all the settings between the prod
    and dev boxes and
    > everything is the same.
    >
    > The prod server is functioning completely normal except
    for the failure to put
    > anything in application.log. I'm beyond pulling my hair
    out on this one. Has
    > anyone ecountered the same issue? My Google searches
    have so far come up emtpy.
    >
    >

  • Log console information to a log file

    I am using the latest plug-in from sun (1.4) and I set the plugin.trace and plugin.logging options in the Java run time parameters of the console using the Control Panel as follows.
    -Djavaplugin.trace=true -Djavaplugin.trace.option=5 -Djavaplugin.trace.filename=test.trace -Djavaplugin.logging=true -Djavaplugin.log.filename=test.log -Djavaplugin.outputfiles.overwrite=false
    I do not see the message getting logged or the log file being created.
    Any suggestions would help
    Thanks
    ah

    akpattuka, having tried your run time parameters with plugin 1.4.2, i can tell you that they do not work here either. I have even tried setting -Djavaplugin.trace.option=ext as suggested by online help (not with numbers). Nothing. What does work for me is the following. While running your applet open the console window. Hit 'o' to enable logging, hit '5' to set the trace level. Hit the refresh button inside your browser. This will create a trace file and a log file.
    HTH, Markus

  • !!!Urgent !!!!!Cannot recovery database without log files (SQL 2008)

    I only have single mdf file, the transaction log file was corrupted. When I was trying to attatch the mdf file, I received the following error message. Can someone give me a help..... it's really urgent!
    TITLE: Microsoft SQL Server Management Studio
    Attach database failed for Server 'DEV8\sqlexpress2008'.  (Microsoft.SqlServer.Smo)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.0.1600.22+((SQL_PreRelease).080709-1414+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Could not open new database 'Smartadmin'. CREATE DATABASE is aborted.
    File activation failure. The physical file name "C:\MSSQL\Smartadmin_log.ldf" may be incorrect.
    The log cannot be rebuilt because there were open transactions/users when the database was shutdown, no checkpoint occurred to the database, or the database was read-only. This error could occur if the transaction log file was manually deleted or lost due to a hardware or environment failure. (Microsoft SQL Server, Error: 1813)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.1600&EvtSrc=MSSQLServer&EvtID=1813&LinkId=20476
    BUTTONS:
    OK
    Javafun

    I killed a dev db by accident (moved it between folders while it had an open transaction) and out of curiosity attempted to fix it as though it were a super-urgent client db. The above link fixed it, but I'll cut to the chase since it's a lot simpler than
    most of the article:
    1) Set aside the database mdf and ldf you're trying to recover.
    2) Create a database in the location you wanted, of the same name as the problem DB.
    3) Stop the SQL Server service.
    4) Copy the mdf and ldf files in, overwriting the dummy db you created.
    5) Start the SQL Server service.
    Done. Fixed.
    Surely you're doing something SQL Server does not like, but it is unfortunate you have to shut down the entire service to perform this trick. All of the other methods in that linked article and sp_attach_single_file_db failed, but this worked like a charm.
    In my dev database I was left with a db that was good as new - no missing data no problems. It seems odd this works so well and yet all these other approaches get errors about an open transaction. To be fair though, my dev database is essentially a single-user
    file that isn't heavily used, I assume a production DB on a busy server would be more problematic.

  • Very Urgent, sqlnet.log, nmi.log file sizes

    Hi all,
    Please here my dabatabase server c drive almost full, the machine became very slow, i want to reduce any files thus giving some free space, i found sqlnet.log, nmi.log files are aeach 600 MB, my server database is 24 * 7, OLTP.
    is there nay chance i can delete this? or replace with with two empty file with same names overwriting them and restart the server?
    what are the problems if i do so? anybody tell whjat i should do?
    THnks in advance

    Hi,
    You can check the path of the system tablespace files from the DBA_DATA_FILES view. But to change that from C: to D: you will need downtime. This activity can only be done at the mount stage.
    First identify which tablespace is being hit the most. Add a datafile to that tablespace in the D: so that the load can be balanced between C: and D:.
    If SYSTEM is one of those tablespaces then add a datafile in D: for SYSTEM tablespace like this
    ALTER TABLESPACE SYSTEM
    ADD DATAFILE 'D:\.....' SIZE 100M AUTOEXTEND ON MAXSIZE 2048M;
    You do not require a restart for this; It can be done online.
    Before you could do the above activity I suggest you try to free up some space on C: inself. Check if the alert log is on C: and has grown in MBs. Check if the archive logs are on C: if your database is in ARCHIVELOG mode. Delete any dump file that you might have created in the past and is not of any use. Clear the Event Viewer in Windows. Empy the Recycle bin. etc.
    In a nutshell, MAKE SOME PLACE TO LIVE!
    Regards.

Maybe you are looking for

  • R/3 and EP connectivity Problem

    Hi Everbody, Plz can anyone will help me out , i have problem ina acessing BAPI with EP, i have tried the connectivity which they have provided in SDN but still iam unable to connect.... plz can anyonw will give me idea apart from the setting whateve

  • Error at new statement on extended program check need help

    Hi all ,                    This is the code : LOOP AT i_stocks INTO wa_stocks WHERE NOT pulkt IS INITIAL AND                          NOT bstkt IS INITIAL AND                          NOT fprctr IS INITIAL AND                          ( write_off_fi

  • TM Options - Warn when old backups are deleted

    I have this option checked. At what threshold will that occur, and is there a way to define at what point they'll start to get deleted?

  • Starting workflow on delete action

    Hi, I am updating another table in the database whenever an attribute value is changed (insert, update, delete) in the master data table. To perform this action, I have created a business rule (with event as "has changed") and it triggers a workflow

  • Disc mode on 1st gen Nano

    I have a 1st gen Nano that went into disc mode about a week ago. I reset it and reloaded it and it was fine until this morning. It went back in disc mode. Is this an indication that it is failing, or is there something I can do to prevent this from h