What is log file?

how to open log file.( igot an error while deploying vc application error is ERROR IN COMPLING FLEX APPLCATIONS,OPEN LOG FILE)
THANKS
KISHORE

hi Kishore...
Launch the Visual Administrator.
Connect the relevant machine.
Navigate to Server -> Services -> Visual Composer - Development server and change the value of the VC.VerboseErrorMessages field to True.
Restart the J2EE Engine (from SAP Management Console).
Connect again to the Visual Composer and deploy the relevant model.The error message should appear with details...
Do these steps to know the Error what you are getting ..after getting error.. please post it here so that we can help you out..
You can refer this oss note 974494(as i mentioned to you in your previous thread)..
If you already solved then close the theread
regards
parth

Similar Messages

  • What's Log File??? I'm new...help!

    What's the utility of Log File? I must enter the username and password?
    I don't find a documentation on that. I'm new in administration.
    null

    Thank you God! That's what I needed to know.
    So then, when I add them to iDVD (due to all the different projects being stored and saved as chapters), what goes into the "Add Movie" section? If I add chapters (by creating a sub-menu named chapters and separate them), does iDVD automatically know where to start the movie?
    You rock!
    --- Joseph

  • Kernel Panic/Log file: what does it mean?

    Hi,
    I got the following Kernel Panic, but can't get a clue of what the log file is telling me. I guess it is related to a motherboard failure, but I'm not sure.
    At the time the Kernel panic occured, my iBook wasn't doing much, but running Firefox 2.0.0.16, Airport Extreme and iPhoto 4.0.3. No USB device but a Logitech Mice was connected.
    Can anyone help me with reading and understanding this Kernel Panic log.file? Thanks. Fred
    panic(cpu 0): Uncorrectable machine check: pc = 0000000000524F70, msr = 0000000000149030, dsisr = 42000000, dar = 0000000014CAF000
    AsyncSrc = 0000000000000000, CoreFIR = 0000000000000000
    L2FIR = 0000000000000000, BusFir = 00000000ff000000
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x00083498 0x0008397C 0x0001EDA4 0x0009160C 0x000908F8 0x0009402C
    Proceeding back via exception chain:
    Exception state (sv=0x315E5C80)
    PC=0x00524F70; MSR=0x00149030; DAR=0x14CAF000; DSISR=0x42000000; LR=0x00524F68; R1=0x120839D0; XCP=0x00000008 (0x200 - Machine check)
    Backtrace:
    0x00524F68 0x00522474 0x005259F8 0x00526444 0x00511E5C 0x0027E650 0x00280324 0x0007AC48
    0x00021668 0x0001BCE8 0x0001C0F0 0x00094318 0xFF346713
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.ATIRadeon8500(3.4.2)@0x50b000
    dependency: com.apple.iokit.IOPCIFamily(1.4)@0x398000
    dependency: com.apple.iokit.IOGraphicsFamily(1.3.5)@0x4d5000
    dependency: com.apple.iokit.IONDRVSupport(1.3.5)@0x4f5000
    Exception state (sv=0x2523E280)
    PC=0x90007878; MSR=0x0000F030; DAR=0x00725048; DSISR=0x40000000; LR=0x900073F8; R1=0xBFFEE4C0; XCP=0x00000030 (0xC00 - System call)
    Kernel version:
    Darwin Kernel Version 7.9.0:
    Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC

    Hi Jon Huber, hi Paul,
    Thanks for your answers. They do confirm my worth fears, since I do sometime have to start, pressing the palmrest below the Option-Command keys, or get the Blue Screen of Death. Since Apple has interrupted its Logic Board Replacement Programm, I guess there not much I can do, but to decide if I should buy an new Mac or not. My previous iBook, a G3, also died, slowly but surely, because of a logic board failure.
    I'm really found of apple products, but I cannot afford just throwing my money away every two or three years. Sadly, I'm afraid I'll have to change side, and buy a Bill Gates friendly laptop.
    Sad, sad, sad...
    Bye, folks.

  • Log file in Batch job

    Hi All
    Do we get a log file in Batch job...???
    I mean to say when we schedule a job in SM36 and after the job is run.. do we have a log file to have alook at it??? what does log file contain????
    I am actually downloading a file in Application server.... so wanted to knw what ll the log file be having
    Moderator message: very basic standard functionality, please search for available information and documentation before asking.
    locked by: Thomas Zloch on Aug 27, 2010 12:45 PM

    HI Poonan,
    If u run any program in background it will  log file will contain all the messages  which is occured during the progrm run .
    It may contin SAP standrad messages or else messages form ur custom program.
    e.g beloW
    Date       Time     Message text                                                                                Message class Message no. Message type
    2010/08/17 16:28:24 Job started                                                                                00           516          S
    2010/08/17 16:28:24 Step 001 started (program Z2152_VENDER_DATA, variant y01, user ID 200C212512)             00           550          S
    2010/08/17 16:28:24 Bank MT LBMAMTMT0000 does not exist                                                                     ZMM          202          S
    2010/08/17 16:28:25 Bank MY HBMBMYKL0000 does not exist                                                                     ZMM          202          S
    2010/08/17 16:28:25 Bank MY HBMBMYKL0000 does not exist                                                                     ZCM          202          S
    2010/08/17 16:28:25 Bank TW FCBKTWTP0000 does not exist                                                                     ZCO          202          S
    2010/08/17 16:28:25 Bank TW FCBKTWTP0000 does not exist                                                                     ZCM          202          S
    2010/08/17 16:28:25 Bank TW YYYYYYYYYYYYYYY does not exist                                                                  ZCM          202          S
    Edited by: pravin s. on Aug 27, 2010 12:10 PM

  • Where are the Adapter Log Files?

    Hello All,
    I have an message that just isn't being loaded by the receiving business system and I'd like to examine the receivers log files for additional details to help me debug the problem.  I don't know where to look yet.  Perhaps the group can offer it's collective advice.
    Here's the details of the problem I'm tackling.....
    I have a 3rd party system that's trying to send a purchase requisition to an SAP Business System via XI.  The message is received by XI correctly.  XI correctly performs the transformation and identifies the message interface and selects correct receiver for the message.  XI communicates with the receiving business system via the appropriate communication channel. 
    The message "fails" in the receiving system with the following error:
    HTTP server code 500 reason Internal Server Exception explanation Error parsing of SOAP header.
    That's not particularly enlighting?  What exactly about the SOAP header didn't the receiving system like?  Perhaps if I could examine a log file on the receiving system, I could figure out what was preventing the message from being loaded.
    A review of TCode SM21 and ST22 on the receiving system - show no errors
    The message is being sent to an HTTP receiver channel on an SAP Business System.  The URL being posted to looks something like this: http://host:port/sap/xi/engine?type=receiver
    That's the URL for the local integration engine's pipeline on the receiving SAP business system, right?  SXMB_MONI on the receiving system doesn't show an errors because the SOAP header could not be interpreted.  What other log files would I examine on the receiver system to see an error in message parsing?
    Thanks for your help!  Points will be gladly awarded

    Hi,
    You can look into the Message Display Tool.
    <b>http://server:javaport/MessagingSystem/monitor/montior.jsp</b>
    This link will lead you to see the entire SOAP message that is actually sent out of XI and received by XI . You can also see the Adapter Log on this link.
    Regards,
    Bhavesh

  • Anyway to expand spool log file?

    Hi,
    I have a massive script, yet the spool log file doesn't show the last 10-15 commands. is there a way for me to resolve that?
    Thanks.

    What spool log file? In what product? And what version of that product?
    The Oracle database does not have a "spool log file."
    Though, on second thought, it occurs to me you may be creating one of your own in which case your operating system and version are important too.
    If you type "SPOOL OFF" do those final commands get flushed from the buffer and written to the file? Aha!

  • Data Services 4.0 Designer. Job Execution but empty log file no matter what

    Hi all,
    am running DS 4.0. When i execute my batch_job via designer, log window pops up but is blank. i.e. cannot see any trace messages.
    doesn't matter if i select "Print all trace messages" in execution properties.
    Jobserver is running on a seperate server. The only thing i have locally is just my designer.
    if i log into the Data Services management console and select the job server, i can see trace and error logs from the job. So i guess what i need is for this stuff to show up in my designer?
    Did i miss a step somewhere?
    can't find anything in docs about this.
    thanks
    Edited by: Andrew Wangsanata on May 10, 2011 11:35 AM
    Added additional detail

    awesome. Thanks Manoj
    I found the log file. in it relevant lines for last job i ran are
    (14.0) 05-11-11 16:52:27 (2272:2472) JobServer:  Starting job with command line -PLocaleUTF8 -Utip_coo_ds_admin
                                                    -P+04000000001A030100100000328DE1B2EE700DEF1C33B1277BEAF1FCECF6A9E9B1DA41488E99DA88A384001AA3A9A82E94D2D9BCD2E48FE2068E59414B12E
                                                    48A70A91BCB  -ek********  -G"70dd304a_4918_4d50_bf06_f372fdbd9bb3" -r1000 -T1073745950  -ncollect_cache_stats
                                                    -nCollectCacheSize  -ClusterLevelJOB  -Cmxxx -CaDesigner -Cjxxx -Cp3500 -CtBatch  -LocaleGV
                                                    -BOESxxx.xxx.xxx.xxx -BOEAsecLDAP -BOEUi804716
                                                    -BOEP+04000000001A0301001000003F488EB2F5A1CAB2F098F72D7ED1B05E6B7C81A482A469790953383DD1CDA2C151790E451EF8DBC5241633C1CE01864D93
                                                    72DDA4D16B46E4C6AD -Sxxx.xxx.xxx -NMicrosoft_SQL_Server -Qlocal_repo  coo ds local
                                                    repo_azdzgq4dnuxbm4xeriey1_e" -l"C:\Program Files (x86)\SAP BusinessObjects\Data Services/log/js01/tip coo ds local
                                                    repo_azdzgq4dnuxbm4xeriey1_e/trace_05_11_2011_16_52_27_9__70dd304a_4918_4d50_bf06_f372fdbd9bb3.txt" -z"C:\Program Files
                                                    (x86)\SAP BusinessObjects\Data Services/log/js01/tip coo ds local
                                                    repo_azdzgq4dnuxbm4xeriey1_e/error_05_11_2011_16_52_27_9__70dd304a_4918_4d50_bf06_f372fdbd9bb3.txt" -w"C:\Program Files
                                                    (x86)\SAP BusinessObjects\Data Services/log/js01/tip coo ds local
                                                    repo_azdzgq4dnuxbm4xeriey1_e/monitor_05_11_2011_16_52_27_9__70dd304a_4918_4d50_bf06_f372fdbd9bb3.txt" -Dt05_11_2011_16_52_27_9
                                                    (BODI-850052)
    (14.0) 05-11-11 16:52:27 (2272:2472) JobServer:  StartJob : Job '05_11_2011_16_52_27_9__70dd304a_4918_4d50_bf06_f372fdbd9bb3' with pid '148' is kicked off
                                                    (BODI-850048)
    (14.0) 05-11-11 16:52:28 (2272:2072) JobServer:  Sending notification to <inet:10.165.218.xxx:56511> with message type <4> (BODI-850170)
    (14.0) 05-11-11 16:52:28 (2272:2472) JobServer:  AddChangeInterest: log change interests for <05_11_2011_16_52_27_9__70dd304a_4918_4d50_bf06_f372fdbd9bb3> from client
                                                    <inet:10.165.218.xxx:56511>. (BODI-850003)
    (14.0) 05-11-11 17:02:32 (2272:2472) JobServer:  RemoveChangeInterest: log change interests for <05_11_2011_16_52_27_9__70dd304a_4918_4d50_bf06_f372fdbd9bb3> from client
                                                    <inet:10.165.218.xxx:56511>. (BODI-850003)
    (14.0) 05-11-11 19:57:45 (2272:2468) JobServer:  GetRunningJobs() success. (BODI-850058)
    (14.0) 05-11-11 19:57:45 (2272:2468) JobServer:  PutLastJobs Success.  (BODI-850001)
    (14.0) 05-11-11 19:57:45 (2272:2072) JobServer:  Sending notification to <inet:10.165.218.xxx:56511> with message type <5> (BODI-850170)
    (14.0) 05-11-11 19:57:45 (2272:2472) JobServer:  GetHistoricalLogStatus()  Success. 05_11_2011_16_52_27_9__70dd304a_4918_4d50_bf06_f372fdbd9bb3 (BODI-850001)
    (14.0) 05-11-11 19:57:45 (2272:2472) JobServer:  GetHistoricalLogStatus()  Success. 05_11_2011_16_52_27_9__70dd304a_4918_4d50_bf06_f372fdbd9bb3 (BODI-850001)
    it does not look like i have any errors with respect to connectivity? ( or any errors at all....)
    Please advise on what, if anything you notice from log file and/or next steps i can take.
    thanks.

  • Database Log File becomes very big, What's the best practice to handle it?

    The log of my production Database is getting very big, and the harddisk is almost full, I am pretty new to SAP, but familiar with SQL Server, if anybody can give me advice on what's the best practice to handle this issue.
    Should I Shrink the Database?
    I know increase hard disk is need for long term .
    Thanks in advance.

    Hi Finke,
    Usually the log file fills up and grow huge, due to not having regular transaction log backups. If you database is in FULL recovery mode, every transaction is logged in Transaction file, and it gets cleared when you take a log backup. If it is a production system and if you don't have regular transaction log backups, the problem is just sitting there to explode, when you need a point in time restore. Please check you backup/restore strategy.
    Follow these steps to get transactional file back in normal shape:
    1.) Take a transactional backup.
    2.) shrink log file. ( DBCC shrinkfile('logfilename',10240)
          The above command will shrink the file to 10 GB.(recommended size for high transactional systems)
    >
    Finke Xie wrote:
    > Should I Shrink the Database? .
    "NEVER SHRINK DATA FILES", shrink only log file
    3.) Schedule log backups every 15 minutes.
    Thanks
    Mush

  • Mac mini freezes regularly - log file enclosed - what do I need to do?

    Hi,
    My mini crashes every couple of days - and has to be rebooted. I've been updating the OS and software regularly but it continues to freeze and has to be rebooted each time. I'm enclosing a typical log file from a crash. Any help / insight about what to do to fix this would be much appreciated.
    Thanks!
    Jay
    Interval Since Last Panic Report:  1927652 sec
    Panics Since Last Report:          3
    Anonymous UUID:                    096B7828-C08C-4571-92B3-
    6EE1F9C11B3A
    Tue Jan 11 17:08:52 2011
    panic(cpu 1 caller 0x00143764): "zalloc: \"kalloc.8192\" (120 elements) retry fail 3"@/SourceCache/xnu/xnu-1228.15.4/osfmk/kern/zalloc.c:966
    Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
    0x30519b68 : 0x12b4c6 (0x45f91c 0x30519b9c 0x13355c 0x0)
    0x30519bb8 : 0x143764 (0x4614d8 0x46015c 0x78 0x3)
    0x30519c58 : 0x12fdc2 (0x1a782d8 0x1 0x45c9980 0x0)
    0x30519c88 : 0x12fde1 (0x188c 0x1 0x4d9671c 0x3ff9004)
    0x30519ca8 : 0x409f44 (0x188c 0x0 0x30519d18 0x2c)
    0x30519cc8 : 0x39243902 (0x188c 0x1 0x30519d08 0x30519d2c)
    0x30519ce8 : 0x3929401d (0x30519d1c 0x1888 0x30519d18 0x12fde1)
    0x30519d38 : 0x392946ed (0x45c999c 0x4bce004 0x304fff 0x0)
    0x30519d88 : 0x392a420c (0x45c999c 0x5333004 0x0 0x0)
    0x30519e38 : 0x39265a19 (0xc1d00044 0xbeef0003 0xbeef0202 0x40ef980)
    0x30519ea8 : 0x392567ed (0x3051a038 0x6 0x0 0x0)
    0x3051a008 : 0x392482d4 (0x0 0x600d600d 0x7057 0x3051a038)
    0x3051a0c8 : 0x301fc77b (0xc1d00044 0xbeef0003 0xbeef0202 0x40ef980)
    0x3051a148 : 0x301fc8a3 (0x1fb3b000 0x40ef980 0x3f02804 0x0)
    0x3051a178 : 0x301beb97 (0x1fb3b000 0x40ef980 0x3f02804 0x0)
    0x3051a1b8 : 0x301fc640 (0x1fb3b000 0x40ef980 0x3f02804 0x143c92)
        Backtrace continues...
          Kernel loadable modules in backtrace (with dependencies):
             com.apple.GeForce(5.4.8)@0x301a9000->0x30240fff
                dependency: com.apple.NVDAResman(5.4.8)@0x3923f000
                dependency: com.apple.iokit.IONDRVSupport(1.7.3)@0x2fa3d000
                dependency: com.apple.iokit.IOPCIFamily(2.6)@0x29c95000
                dependency: com.apple.iokit.IOGraphicsFamily(1.7.3)@0x2fdff000
             com.apple.NVDAResman(5.4.8)@0x3923f000->0x3949dfff
                dependency: com.apple.iokit.IONDRVSupport(1.7.3)@0x2fa3d000
                dependency: com.apple.iokit.IOPCIFamily(2.6)@0x29c95000
                dependency: com.apple.iokit.IOGraphicsFamily(1.7.3)@0x2fdff000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    9L31a
    Kernel version:
    Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386
    System model name: Macmini3,1 (Mac-F22C86C8)
    System uptime in nanoseconds: 448212458019221
    vm objects:4916660
    kernel map entries:2510816
    pv_list:1181432
    kalloc.16:2617344
    kalloc.32:2064384
    kalloc.64:3289088
    kalloc.128:2031616
    kalloc.256:1159168
    kalloc.512:346521600
    vm pages:19789484
    MAC Labels:7200360
    vnodes:4284000
    namecache:1562640
    HFS node:6655264
    HFS fork:2788016
    buf.4096:1728512
    buf.8192:71622656
    Kernel Stacks:1867776
    PageTables:20480000
    Kalloc.Large:3342960
    unloaded kexts:
    com.apple.driver.AppleHDAPlatformDriver    1.7.1a2 - last unloaded 98648540161
    loaded kexts:
    com.vmware.kext.vmnet    2.0.4
    com.vmware.kext.vmioplug    2.0.4
    com.vmware.kext.vmci    2.0.4
    com.vmware.kext.vmx86    2.0.4
    com.apple.filesystems.udf    2.0.2 - last loaded 145570655090
    com.apple.filesystems.msdosfs    1.5.5
    com.apple.driver.AppleHIDKeyboard    1.0.9b4
    com.apple.driver.AppleHWSensor    1.9d0
    com.apple.driver.AppleBluetoothMultitouch    32.7
    com.apple.filesystems.autofs    2.0.2
    com.apple.iokit.IOBluetoothSerialManager    2.1.10f2
    com.apple.driver.AppleHDA    1.7.1a2
    com.apple.driver.AppleUpstreamUserClient    2.7.5
    com.apple.driver.DiskImages    199
    com.apple.driver.AppleHDAController    1.7.1a2
    com.apple.nvenet    1.0.54
    com.apple.Dont_Steal_Mac_OS_X    6.0.3
    com.apple.driver.ApplePlatformEnabler    1.0.2d1
    com.apple.driver.AGPM    100.8.7
    com.apple.driver.NVSMU    1.1.7
    com.apple.driver.AppleLPC    1.3.1
    com.apple.driver.AirPortBrcm43xx    366.91.21
    com.apple.iokit.IOFireWireIP    1.7.7
    com.apple.driver.AppleUSBAudio    2.6.4b17
    com.apple.driver.AppleIRController    113
    com.apple.driver.AudioIPCDriver    1.0.6
    com.apple.GeForce    5.4.8
    com.apple.driver.ACPI_SMC_PlatformPlugin    3.4.0a17
    com.apple.nvidia.nv50hal    5.4.8
    com.apple.driver.BroadcomUSBBluetoothHCIController    2.1.10f2
    com.apple.iokit.IOUSBMassStorageClass    2.0.8
    com.apple.driver.AppleUSBComposite    3.2.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    2.1.1
    com.apple.iokit.SCSITaskUserClient    2.1.1
    com.apple.driver.XsanFilter    2.7.91
    com.apple.iokit.IOAHCISerialATAPI    1.1.2
    com.apple.iokit.IOAHCIBlockStorage    1.2.3
    com.apple.driver.AppleUSBHub    3.4.9
    com.apple.iokit.IOUSBUserClient    3.5.2
    com.apple.driver.AppleFWOHCI    3.9.7
    com.apple.driver.AppleUSBOHCI    3.4.6
    com.apple.driver.AppleEFINVRAM    1.2.0
    com.apple.driver.AppleAHCIPort    1.7.0
    com.apple.driver.AppleUSBEHCI    3.4.6
    com.apple.driver.AppleRTC    1.2.3
    com.apple.driver.AppleHPET    1.4
    com.apple.driver.AppleACPIPCI    1.2.5
    com.apple.driver.AppleACPIButtons    1.2.5
    com.apple.driver.AppleSMBIOS    1.4
    com.apple.driver.AppleACPIEC    1.2.5
    com.apple.driver.AppleAPIC    1.4
    com.apple.security.seatbelt    107.12
    com.apple.nke.applicationfirewall    1.8.77
    com.apple.security.TMSafetyNet    3
    com.apple.driver.AppleIntelCPUPowerManagement    76.2.0
    com.apple.BootCache    30.4
    com.apple.driver.IOBluetoothHIDDriver    2.1.10f2
    com.apple.driver.AppleMultitouchDriver    194.28
    com.apple.iokit.IOSerialFamily    9.4
    com.apple.driver.DspFuncLib    1.7.1a2
    com.apple.iokit.IOHDAFamily    1.7.1a2
    com.apple.iokit.IO80211Family    216.1
    com.apple.iokit.IONetworkingFamily    1.6.1
    com.apple.iokit.IOAudioFamily    1.6.9fc5
    com.apple.kext.OSvKernDSPLib    1.1
    com.apple.driver.IOPlatformPluginFamily    3.4.0a17
    com.apple.NVDAResman    5.4.8
    com.apple.iokit.IONDRVSupport    1.7.3
    com.apple.iokit.IOGraphicsFamily    1.7.3
    com.apple.driver.AppleSMC    2.3.1d1
    com.apple.driver.AppleUSBBluetoothHCIController    2.1.10f2
    com.apple.iokit.IOBluetoothFamily    2.1.10f2
    com.apple.iokit.IOUSBHIDDriver    3.4.6
    com.apple.iokit.IOBDStorageFamily    1.5
    com.apple.iokit.IOSCSIBlockCommandsDevice    2.1.1
    com.apple.iokit.IODVDStorageFamily    1.5
    com.apple.iokit.IOCDStorageFamily    1.5
    com.apple.iokit.IOSCSIArchitectureModelFamily    2.1.1
    com.apple.iokit.IOFireWireFamily    3.4.9
    com.apple.iokit.IOStorageFamily    1.5.6
    com.apple.iokit.IOAHCIFamily    1.5.0
    com.apple.iokit.IOUSBFamily    3.5.2
    com.apple.driver.AppleEFIRuntime    1.2.0
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.iokit.IOHIDFamily    1.5.7
    com.apple.driver.AppleACPIPlatform    1.2.5
    com.apple.iokit.IOACPIFamily    1.2.0
    com.apple.iokit.IOPCIFamily    2.6

    I had already tried that one and got this...
    below is screen shot of what is on the new mac mini
    and what is on the external drive now connected to the new mac mini..
    There are no media files on the mac mini just the library files and on external just media files..
    Do I need to copy anything over from the old mac mini ? xml files ? .. the itunes folder on old mini is about 840mb in size which looks to have artwork ect ? .. I am fairly computer literate, but this one has me stumped.. ?
    thanks for help

  • What is the best way to merge a file content into log file

    What is the best way to merge a file content into log file.
    In worst case, I will read the file line by line as string, then use
    logger.info(lineString)to output to log file.
    However, is there better way to do this?
    The eventual log file will be something like:
    log message 1
    log message 2
    content from file line 1
    content from file line 2
    content from file line 3
    log message 3
    log message 4Thanks

    John618 wrote:
    Thank you and let me explain:
    1. What do you mean by better?
    I would like to see better performance. read line by line and log each line as string can be slow. Did you measure this and determine that it is actually a problem for your application? Or are you guessing?
    Regardless of what you do you are still going to need to read the file.
    >
    2.The only better way I can think of is not having to do it, but I assume you have a very good reason to want to do this.
    Yes, I have to do it beacuse the requirement is to have that file content be part of logging.
    Any idea?How is it supposed to be part of it? For example which of the following is better?
            File AAA - contents
                       First Line
                       Second Line XXX
            Log 1
                    2009-03-27 DEBUG: Random preceding line
                    2009-03-27 DEBUG: First Line
                    2009-03-27 DEBUG: Second Line XXX
                    2009-03-27 DEBUG: Random following line
            Log 2
                    2009-03-27 DEBUG: Random preceding line
                    2009-03-27 DEBUG: ----- File: AAA -------------
                    First Line
                    Second Line XXX
                    2009-03-27 DEBUG: Random following lineBoth of the above have some advantages and disadvantages.
    The first in a mult-threaded app can end up with intermittent log entries in between lines, so having log lines with thread ids becomes important.
    The first can be created by reading one line at a time and posting one at a time.
    The second can be created by reading the entire file as a single string and then posting using a single log statement.

  • What is stored in a transaction log file?

    What does the transaction log file store? Is it the blocks of transactions to be executed, is it the snapshot of records before beginning the
    execution of a transaction or is it just the statements found in a transaction block? Please advice.
    mayooran99

    yes, it will store all the values before and after that were modified. you,first, have to understand the need for transaction log, then, it will start to become apparent, what is stored in the transaction log
    before the transaction can be committed, sql server will make sure that all the information is hardened on the transaction log,so if a crash happens, it can still recover\restore the data.
    when you update some data - the data is feteched into memory and updated- transaction log makes note of it(before and after values etc).see, at this point, the changes were done but not physically present in the data page, they present only in the memory.
    so, if crash happens(before a check piont\lazy writer could be issued), you will that data...this where transaction log comes handy, because all this information is stored in physical file of transaction log. so, when your server comes back on, if the transaction
    is committed, the transaction log will roll forward this iinformation
    when a checkpoint\lazy writer happens, in simple recovery, the transaction log for that txn is cleared out, if there are no other older active txns.
    in full recovery you will take log backups, to clear that txn from the transaction log.
    in transaction log data generally is faster because 1. it is written sequentialyl...it will track the data pageno, lsn and other details that were modified and makes a note of it.
    similar to data cache, there is also transaction log cache, that makes this process faster.. all transactions before being committed, it will wait to make sure everything related to the txn is written to the transaction log on disk.  
    i advice you to pick up - kalen delaney, sql internals book and read - recovery an logging chapter..for more and better understanding...
    Hope it Helps!!

  • MacPro suddenly losing power - what log file(s) can I check?

    I've been having a strange problem over the last several months where my MacPro will suddenly turn itself off. It's exactly like a power failure, but only the computer is affected (monitor, other devices all fine).
    I bought a UPS thinking that it was a line problem, but the machine still turns itself off once in a while, anywhere from once or twice a month to three times a week.
    I suspect it's being caused by something connected to the computer, but there's not too much there - a USB hub, printer, iPhone, a couple of iPods, and a gaming headset.
    What log files on the Mac can I check for possible causes to this problem? I tried looking through the Console Messages app for log errors, but there's so much there I was overwhelmed by data.
    Can anyone suggest a specific log or two to inspect, or any troubleshooting techniques that may identify the problem? Anyone ever have a similar problem?
    Thanks!
    -Joe

    This isn’t too helpful, but I’ve been having exactly the same problem over the last couple of weeks. It doesn’t seem to be power line (printer and other stuff on the same line don’t go down). Oddly, it turns itself off and then reboots (though I do NOT have reboot after power failure checked).
    Two things I’m presently focusing on are (a) the fact that, at least the last few days when I’ve been logging the problem, it ALWAYS does this about 8:15 a.m. Doesn’t matter whether I’m at the computer using it or not. (b) Always, always, always when it’s happened I’ve had Microsoft Word open. But I almost always have Word open, though I’m going to make sure that I don’t have it open at 8:15 tomorrow morning.
    Reset PRAM, checked the disk with AlSoft’s Disk Warrior, and downloaded and am currenty running Symantec’s AntiVirus. Can’t think of any likely viruses that would do this, but it seems worthwhile to me to check. I’m going to check fonts for badness of some one or more, and I’m this moment downloading an update to Microsoft Office that is supposed to make it more stable. But an application shouldn’t be able to force a power-down and reboot.
    I’m going to the Apple store tomorrow to ask for advice there. My one post here hasn’t gotten any suggestions.
    It’s not an obvious kernel panic (i.e., not the usual kernel panic message). Just a little power click, black screen, and a few seconds later a reboot.
    -Lofty

  • What is the purpose of standby redo log files

    Hi,
    What is the purpose of the standby redo log files in DR?
    what if the standby redo log files are created? or else not created?
    Please explain
    Thanks

    3.1.3 Configure a Standby Redo LogA standby redo log is required for the maximum protection and maximum availability modes and the LGWR ASYNC transport mode is recommended for all databases. Data Guard can recover and apply more redo data from a standby redo log than from archived redo log files alone.
    You should plan the standby redo log configuration and create all required log groups and group members when you create the standby database. For increased availability, consider multiplexing the standby redo log files, similar to the way that online redo log files are multiplexed.>
    Reference http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i1225703
    HTH
    Anand

  • When using wusa.exe to install MSU update package and enabling logging using the /log switch, what format are the log files in?

    I have been installing a number of hotfixes for Windows 7 using MSU files and the wusa.exe utility included in Windows. I thought it would be a good idea to generate separate log files for each update as it was installed since wusa.exe now supports this
    option using /log:<file name>. However, the log files created do not seem to be regular text files or any other log file format that I immediately recognize. When opened in Notepad or Wordpad you can see that they contain a lot of additional binary data
    which can't be read by a regular text viewer.
    Does anyone know what format these log files are in? What tool should you use to read them?

    I have been installing a number of hotfixes for Windows 7 using MSU files and the wusa.exe utility included in Windows. I thought it would be a good idea to generate separate log files for each update as it was installed since wusa.exe now supports this
    option using /log:<file name>. However, the log files created do not seem to be regular text files or any other log file format that I immediately recognize. When opened in Notepad or Wordpad you can see that they contain a lot of additional binary data
    which can't be read by a regular text viewer.
    Does anyone know what format these log files are in? What tool should you use to read them?
    Only Microsoft can manage to design something as stupid as this. If you start wusa from the command line, it pops up the alternative command line switches. For log, it just says: " /log     - installer will enable logging". It doesn't say that you
    should specify the log file name, hence not HOW you specify it (" /log:<path\filename>.") It doesn't say what extension to use for the file, alas which file type it is (" /log:<path\filename.evtx>."). You open it in notepad, you cannot read it.
    You open it in sccm's cmtrace.exe/trace32.exe, you get nothing. IT IS NOT POSSIBLE TO IMPLEMENT THIS IN A WORSE WAY. How can something be so bad? How can Microsoft get such stupidity inhouse, when you need to go through six interviews or something to get in??
    I cannot believe it - unfortunely, this is seen again and again. 

  • What is in the PostgreSQL_Server_Services.log File and How do I Shrink it?

    I know OS X Server uses PostgreSQL now instead of MySQL which is fine by me. I am trying to figure out what is in the PostgreSQL_Server_Services.log file in Library/Logs/PostgreSQL/ . It is about 188 GB right now and ideally instead of relocating it along with other services to another drive from the nice 256GB SSD that is in the system I would like to understand what is in the database and how to manage it's size better.
    Any pointers for best practice on managing the database or what the heck is in it?
    Thanks!

    Thanks for the response. I mistyped in the question as I understood it was a log file. The DB itself is only about 1-2GB. As for reviewing I am fine with modifying the permissions and examining the file in the console or other app but I am most interested in how to manage it safely. Can I just clear the log contents? If so what is the safe way to do so? I know with many DB's the log file is critical to it's function and if things happen to the log file it can render the DB unusable. In addition what is the best way to modify the rotation routine it uses and set the logging level? (I have pasted the .plist contents for Postgresql for Server Services below)
    I have also downloaded and installed pgAdmin but have not gone through the steps of connecting it to the DB and log file (users setup etc.)
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>ProgramArguments</key>
        <array>
            <string>-D</string>
            <string>/Library/Server/PostgreSQL For Server Services/Data</string>
            <string>-c</string>
            <string>unix_socket_directory=/Library/Server/PostgreSQL For Server Services/Socket</string>
            <string>-c</string>
            <string>logging_collector=on</string>
            <string>-c</string>
            <string>log_connections=on</string>
            <string>-c</string>
            <string>log_lock_waits=on</string>
            <string>-c</string>
            <string>log_statement=ddl</string>
            <string>-c</string>
            <string>log_line_prefix=%t </string>
            <string>-c</string>
            <string>listen_addresses=</string>
            <string>-c</string>
            <string>log_directory=/Library/Logs/PostgreSQL</string>
            <string>-c</string>
            <string>log_filename=PostgreSQL_Server_Services.log</string>
            <string>-c</string>
            <string>unix_socket_group=_postgres</string>
            <string>-c</string>
            <string>unix_socket_permissions=0770</string>
        </array>
    </dict>
    </plist>

Maybe you are looking for

  • Reset the iTunes parameter to sync to correct data drive

    In Win 7, I "relettered" my drive containing Outlook data from "J" to "M". Now my iPhone4 using iOS 4.3.5 won't sync with my Outlook data. How can I reset the iTunes parameter which will sync my phone to the correct drive? Thanks, Peter

  • Dual Monitors in Lightroom

    I have connected a second monitor to my Intel iMac 20. In Photoshop CS3 or in Aperture 1.5.3 I can drag the photo I'm editing to the second monitor, which I find very useful for editing. In Lightroom 1.0 I have not found a way. If I use CS3 from Ligh

  • Indesign CS6 hand tool gets stuck and can't use selection tool

    In Indesign CS6 using Mountain Lion, the hand tool appears and I can't select or work with any other tool. All I can do is move the document around. After trying the space bar and other key commands I restarted and it worked for a while. Then it happ

  • How do I remove the symbol input on my keyboard?

    I can't get to Entering the normal alphabets and numbers!

  • Problème fonction externe DLL lors du lancement d'un executable

    Bonjour à tous, J'ai créé un installeur qui génére mon application sous forme d'éxécutable. L'installeur et l'éxécutable fonctionne parfaitement sur certains PC. Par contre sur d'autres PC lors du lancement de l'application j'ai le message d'erreur s