How to open log file while program is running?

Hi,
I am using log4j to generate a log file. The application connects to a remote server and does some updates on a database. Is it possible to view the log file while the program is running? When I click on the log file to open it, I get a message "the document is in use by another application and cannot be accessed".
Looking for ideas to get around this problem.
Thanks and Regards,
Harsha Hegde

tail.exe -f
Tail is a Unix program but if you search google you can find a port for Windows. It will show the contents of the file in a cmd prompt and will update as new lines are being added to the file so you can see the most up-to-date version as log4j is writing to it.

Similar Messages

  • Open .lvm file while program is running

    How do I open a .lvm file within my program? I've tried using the Open/Create/Replace File dialog with File Dialog specifying the path and I can get to the point to select the path, and it doesn't open the file.
    Solved!
    Go to Solution.

    Can you please post your code so we can see what you are doing.
    Cory K

  • How can I read the EXCEL file while Program is running in background.

    Hi all Expert,
    How can I read the EXCEL file while Program is running in background.
    Thanks

    you need to place ur excel file on application server and follow this thread: Reading an Excel file from the application server?
    loots of information if you can search forum.. thanks

  • How to open .ogg files while browsing with a player not firefox

    when selecting an .ogg link firefox opens the file in the current browser window. how can i associate this file type with a player of my choice instead. i have made this association in windows but no luck with firefox.
    txs

    Which application opens the file if you double-click such a file in Windows Explorer?
    If the default program is Word then Firefox should offer that application as the default.
    In the case of an attachment then it may not be likely that the file is send with the correct MIME type for a doc or docx file, but possibly a generic type like "application/octet-stream" that will make Firefox want to save the file.
    *https://support.mozilla.org/kb/change-firefox-behavior-when-open-file

  • KUP-04063: unable to open log file.. (while selecting from External table)

    Hi
    I am trying to craete an external table and then select the data from the table. However I am getting error while trying to select the data from external table.
    SQL>CREATE OR REPLACE DIRECTORY my_dir as 'C:\arun';
    Directory created.
    SQL>GRANT ALL ON DIRECTORY my_dir TO PUBLIC;
    Grant succeeded.
    SQL>DROP TABLE proj_checklists_external;
    Table dropped.
    SQL>CREATE TABLE proj_checklists_external
    2 ( checklist_submission_id NUMBER
    3 ,Lead_reviewer_name VARCHAR2(30)
    4 ,Lead_reviewer_corp_id VARCHAR2(10)
    5 ,creation_date VARCHAR2(10)
    6 ,submitted_dater VARCHAR2(10)
    7 ,approved_date VARCHAR2(10)
    8 ,status VARCHAR2(50)
    9 )
    10 ORGANIZATION EXTERNAL
    11 (
    12 TYPE ORACLE_LOADER
    13 DEFAULT DIRECTORY my_dir
    14 ACCESS PARAMETERS
    15 (
    16 RECORDS DELIMITED BY NEWLINE
    17 FIELDS TERMINATED BY ','
    18 )
    19 LOCATION ('Book1.txt')
    20 )
    21 PARALLEL 5
    22 REJECT LIMIT 200;
    Table created.
    SQL>SELECT * FROM proj_checklists_external;
    SELECT * FROM proj_checklists_external
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file PROJ_CHECKLISTS_EXTERNAL_28484.log
    OS error No such file or directory
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    I craeted an file PROJ_CHECKLISTS_EXTERNAL_28484.log also in C:\arun and then tried to select but still got same error.
    Any idea how to overcome this error.
    Regards
    Arun

    here you go:
    SQL> CREATE OR REPLACE DIRECTORY GRATIS_LOAD as 'D:\AdvSourceData\Membership\';
    Directory created
    SQL> GRANT ALL ON DIRECTORY GRATIS_LOAD to ADVROLE;
    Grant succeeded
    SQL>
    SQL> DROP TABLE MEMB_BATCH_LOAD_ID;
    Table dropped
    SQL> CREATE TABLE MEMB_BATCH_LOAD_ID (
    2 ID_NUMBER VARCHAR2(10),
    3 STATUS CHAR(1)
    4 )
    5 ORGANIZATION EXTERNAL
    6 ( TYPE ORACLE_LOADER
    7 DEFAULT DIRECTORY GRATIS_LOAD
    8 ACCESS PARAMETERS
    9 ( records delimited by NEWLINE
    10 fields (
    11 ID_NUMBER POSITION (1:10) CHAR,
    12 STATUS POSITION (11:1) CHAR
    13 )
    14 )
    15 LOCATION
    16 ( 'GRATISID.TXT'
    17 )
    18 );
    Table created
    SQL> select * from memb_batch_load_id;
    select * from memb_batch_load_id
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file MEMB_BATCH_LOAD_ID_1388_5552.log
    OS error The system cannot find the file specified.
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    SQL>

  • How to open *.pdf files in BOXI r2 inbox

    I am scheduling as  *.pdf file for deski report.After scheduling i am getting *.pdf in my inbox.if the report is deski or webi we can use FC_REPORT_ENGINE or WI_REPORT_ENGINE to open the report's using java code.In same way how to open *.PDF file in Inbox?
    Edited by: ramkishore kishore on Nov 7, 2008 8:31 AM
    Edited by: ramkishore kishore on Nov 7, 2008 8:31 AM

    Hi Ram,
    Following information might help you to resolve the issue.
    After logging into Desktop Intelligence, you may be presented with a message stating:
    u201CYou have received 1 document from users"
    Examining the Inbox from within the Desktop Intelligence client shows no objects visible in your Inbox.
    The object in your Inbox is in a format other than Desktop Intelligence format such as, PDF, XLS or other format. Therefore the object is not recognized by the Desktop Intelligence client inbox browser.
    Log in to Info View or the Central Management Console, browse to your Inbox and verify the file name and format that has been sent to your Inbox. The object may be saved, copied, moved or deleted as necessary.
    Regards,
    Sarbhjeet Kaur

  • How to open aspx. files in OS 10.8?

    is this the right place to ask how to open aspx. files in OS 10.8.2?

    Unfortunately aspx is a generic extender - it is a report generated by a server running Windows .net - it isn't an extender that actually tells what kind of file it is or what kind of data it holds. That's something you either have to know before hand so you can force the proper program to open it (or change the aspx extender to its real extender) or you have to find out what the file is.
    At work our system's report generator gives everything an aspx extender. When I generate a report I decide whether it should be a PDF, Excel file, etc. After downloading the file I change its extender appropriately.

  • How to open the file types of iOSApp(ipa),EPUBFile(.epub) in windows 7(32 bit)

    How to open the file types of iOSAPP(ipa),EPUBfile(.epub) in windows 7(32 bit)

    iOS apps can be added to an iTunes library and thereafter transferred to an iOS device. They cannot be opened directly on a PC.
    epub files can be added to an iTunes library, and thereafter transferred to an iOS device where they can be read with the iBooks application. Files protected with Apple's DRM cannot be opened directly on a PC, though there are programs such as Kindle and Calibre that will open non-protected epub files.
    tt2

  • How to open .dll files?

    I'm not sure I have the correct forum, but I thought I'd try here.
    I have .dll files I want to look at. I am unable to open them in any type of readable format. When I double click on them they open in Text Edit and jumbled up. I tried to open them in Preview and that didn't work either.
    Can someone guide me on how to open these files? OR if this is the wrong board, let me know and I'll post some place else.
    Thanks,
    Ginger

    No. A Windows DLL file is a library of machine code meant to be loaded by a piece of software. It's unreadable by humans. An experienced developer may be able to decompile the library into x86 assembly language.
    DICOM is an image format used for storing medical image data (such as MRIs, CAT scans, etc.). Many packages that work with DICOM packages have an "export to CD" function that will burn a CD with a directory of DICOM images, optionally with a copy of a program for displaying the images. It sounds like you have one of those CDs that's been burned with a copy of a Windows DICOM viewer. You won't be able to use that without a copy of Windows installed.
    However, that doesn't mean that you can't view the DICOM images. The most widely used DICOM viewer is probably [OsiriX|http://www.osirix-viewer.com>, which is free to download and use. Simple install, and use the import function to load a whole directory of DICOM images at once.

  • How To open SysEx file in logic ??

    How To open SysEx file in logic and send it to a midi device (sound Module/sinthesizer/ drum machine)??
    Pleas help !!
    PowerBook G4 1.67GHz   Mac OS X (10.4.5)  

    Like for instance:
    i need to update an OS of my alesis sound module
    so i download the syx from the web site,
    and i do as the manual tells me :
    "open the syx with a sequencer program (can be logic or any other)
    use the midi Out (sequncer/computer)to the MIDI in of the module
    and run the sequencer, and the module will be updated "
    but the problem is when i run logic and import the file syx. logic says
    "SYX file imported not yet implemented "
    so maybe i am not doing it right

  • One or more required office component failed to complete successfully for more information, consult the setup log file. while uninstallation of sharepoint 2013

    One or more required office component failed to complete successfully for more information, consult the setup log file. while uninstallation of sharepoint 2013

    go to start > run > type %temp% > here check for latest file and provide us details in that log file
    If this helped you resolve your issue, please mark it Answered

  • How to open a file created at the server through form/report at client end

    How to open a file created at the server through form/report at client end
    Dear Sir/Madame,
    I am creating a exception report at the server-end using utl file utility. I want to display this report at the client end. A user doesn't have any access to server. Will u please write me the solution and oblige me.
    Thanks
    Rajesh Jain

    One way of doing this is to write a PL/SQL procedure that uses UTL_FILE to read the file and DBMS_OUTPUT to display the contents to the users.
    Cheers, APC

  • How to find log files in Sun soalries....

    How to find log files in the SUN Solaries Os if there is any.....
    i am new to SUN Solaries Admin Can some one refer me a good book for me on sun solaries
    Thankq

    A reasonable method would be
    cat /etc/syslog.conf
    .. at least it would show you where syslog send its logs.
    .7/M.

  • HT4796 I have made a file using the Pages app.I mailed it to a friend.When she tried opening the same file on her pc at home , It did not open.Please help me as to how to open the file in the Microsoft word format on her pc.

    I have made a file using the Pages app.I mailed it to a friend.When she tried opening the same file on her pc at home , It did not open.Please help me as to how to open the file in the Microsoft word format on her pc.

    Send it as a PDF.

  • Could not open log file in Win2000 sp3 Message in console

    I have configured log file for ias. Then restarted my Application server. It is giving Error message "Could not open log file ''logs/logVal.10817" in kas window. But logs files are there (created by the server itself) in the logs floder.
    I have configured logs for two systems.
    One system is noted all messages in the file
    Second system did not not any messages.
    But the files are existed in the logs folder in both the systems.
    I need to configure logs for ias,Kjs and KXS also.
    Please suggest me regarding this.
    thanks
    sudheer

    Hi,
    I'm not sure what operation are you trying to, can you please confirm that ? Please check what kind of messages did you try to log, is it only errors ? or all errors & warning or all messages ?. If it were only errors and warnings, then there is a possibility that the server did not encounter any of this, due to which the log file can be empty.
    Regards
    Raj

Maybe you are looking for