Preventing the printing of Time in Java Logger. Please help................

Hi all,
I have a problem in Java Logger.
When a logger prints some messages to file, can i prevent it from printing of the time stamp?
i.e, i need to print only the string message. i don't need date, level or class name etc...
how can i do this?
please help....
-Soni.

Hey soni, im looking into a similar problem. I think you have to write your own formatter ( to replace SimpleFormmatter or XMLFormatter ). check out this tut, the author is a good guy. he knows his kung-fu.
http://www.informit.com/isapi/product_id~{DC2E1DA2-93B5-442E-A1DE-ADA9F55A7464}/element_id~{F03ADAAB-F247-4C4B-AD47-59A4D8B4F825}/st~{94C03A97-1188-4875-8A06-17743BA224B7}/session_id~{D6EB5E91-B7AB-4969-9010-5A32E6BE05B2}/content/articlex.asp
its a complete break down of the java logger class and has a section on custom formatters. Hope that works for yah.
-schlootwhoot

Similar Messages

  • I was able to print from adobe digital editions up to two days ago and now I do not have the option to print.  The "Print" option is greyed out.  Please help.

    I was able to print from adobe digital editions up to two days ago and now I do not have the option to print.  The "Print" option is greyed out.  Please help.

    Printing Expiry option might be set by the Publisher at server level. Right click on the book and select Item Info to know about the book permission.

  • How to get the current GMT time in java

    Hi,
    How to get the current GMT time in java
    Thanks

    System.getCurrentTimeMillis() or new Date().
    [url http://www.javaworld.com/jw-12-2000/jw-1229-dates.html]Calculating Java dates: Take the time to learn how to create and use dates
    [url http://www.javaalmanac.com/egs/java.text/FormatDate.html]Formatting a Date Using a Custom Format

  • HT4356 I am trying to connect my printer, canon MG3170, it has been connected to the same WIFI network, but I still showing "no airprint printers found". I have tried to restart the printer few times but still the same. Please help, thanks (Dhoni-Singapor

    I am trying to connect my printer, canon MG3170, it has been connected to the same WIFI network, but I still showing "no airprint printers found". I have tried to restart the printer few times but still the same. Please help, thanks (Dhoni-Singapore)

    power everything off printer & router.
    re-boot ipad.
    Press and hold the Sleep/Wake
    button until a red slider appears, then drag the slider. Then press and hold the Sleep/Wake
    button until the Apple logo appears.  page 128 iPad user manual.
    more details on re-booting:
    http://ipad.about.com/od/iPad_Guide/ss/How-To-Reboot-Your-iPad-Power-Off.htm
    power on router then printer then ipad
    Cross your fingers.
    Robert

  • Ios8 problem. ibooks individually open up ok black print on white, but the "page" shows as dark charcoal with indistinct pale lettering and I can't read it.  Nowhere to fix the "page".  It's crap. Please help

    ios8 problem. ibooks individually open up ok black print on white, but the "page" shows as dark charcoal with indistinct pale lettering and I can't read it.  My home page picture appears to "bleed" through.   Nowhere to fix the "page".  It's crap. Please help

    I'd still prefer to keep separate user accounts. I never had any issues like this before. The only time I started having a problem was when I was just trying to force empty the trash a few months ago. I came on here looking for a solution and someone posted a way to empty the trash using the terminal. Before then, I hadn't used the terminal for anything--it was just another app in my utilities folder.  (None of this has anything to do with having separate user accounts. Plenty of people with kids make second and third user accounts on their laptops so that multiple people can use one laptop, having more than one user on a laptop is not very difficult.) But thank you, I'll try that out and see if it works!

  • TS3920 I have a problem after I lock my iphone or it is automatically locked , the time doesn't update. It just freezes at the last time of locking. Please help , it is iphone 5 running iOS7.1

    I have a problem after I lock my iphone or it is automatically locked , the time doesn't update. It just freezes at the last time of locking. Please help , it is iphone 5 running iOS7.1
    I check with my service provider as well as I synchronized with iTunes , changed time manually with the right time zone. Unfortunately the problem keeps showing

    Hi Courcoul
    Thanks for stepping by
    To tell the truth I forgot to mention that I already did what you said, even more I tried all "reset" options including:
    Reset all settings
    Erase All content and settings
    Reset Network settings
    Etc
    Even
    Reset location and Privacy
    It keeps showing the problem

  • By mistake I uninstalled my Acrobat someting, which gave me the opportunity to print .pdf and color-mark text. My licence key is [removed by moderator]. What is the name of the product? Where is the link for download and reinstall? Please help me r

    By mistake I uninstalled my Acrobat someting, which gave me the opportunity to print .pdf and color-mark text. My licence key is [removed by moderator - never disclose publicly]. What is the name of the product? Where is the link for download and reinstall? Please help me rapidly, Best regards / Stefan

    Sign in to your Adobe account online and look in the Plans/Products sections to see which program it might have been.

  • How can I download the original Apple version of Java 6 please?

    I have an iMac OSX 10.10.1 Yosemite with Java 1.8.0_25. How can I download the original Apple version of Java 6 please? All my attempts are referred to the latest version of Java, which I already have! Catch 22!
    Thanks

    Java
    http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

  • I have changed default language in the program & have set Language & region in system preferences. My Word (Mac2011) keeps on changing the default language to US english every time I check. Please help!

    I have changed default language in the program & have set Language & region in system preferences. My Word (Mac2011) keeps on changing the default language to US english every time I check. Please help!

    If you're having trouble making changes to files that are inside your home folder (represented by a house icon in the sidebar of a Finder window), or if you can't get changes to the settings of an application to stick, then please see below.
    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR..; sudo chown -R $UID:staff ~ $_; sudo chmod -R u+rwX ~ $_; chmod -R -N ~ $_; } 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take a few minutes to run, or perhaps longer if you have literally millions of files in your home folder. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password dialog will open. You’re not going to reset a password.
    In the dialog, select the startup volume ("Macintosh HD," unless you gave it a different name) if it's not already selected.
    Select your username from the menu labeled Select the user account if it's not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Why is it that my iMovie app keeps shutting off randomly! I'm trying to export my movie and it shuts down each time it's a 1/4 of the way through downloading! Ah! Please help.

    Why is it that my iMovie app keeps shutting off randomly! I'm trying to export my movie and it shuts down each time it's a 1/4 of the way through downloading! Ah! Please help.

    I also have Jolly's problem. I found the iMovie 9.0.9 folder and tried to launch the older version of iMove. It would not launch. I removed all of the iMovie preferences from the Preferences folder, removed iMove 10 from the applications folder, and restarted my Mac. iMove 9.0.9 still won't launch and I can't access my videos created with the older version of iMovie. Is there a way to uninstall iMovie 10 and reinstall iMovie 9.0.9?
    I am running Yosemitie on a  iMac.
    Paul

  • I cannot turn on my wifi! I have reset and turned off my phone multiple times and the Wifi button is completely greyed out. please help me

    I cannot turn on my wifi! I have reset and turned off my phone multiple times and the Wifi button is completely greyed out. please help me

    I had the same issue and i just resolved it, I have an iphone 4s and last night was al perfect and this morning i just verified that i had a new updated installed on my phone and my WiFi was disable and did restore as new like crazy until i did this after me being tired of restoring my phone from factory setting and then my lately back up on icloud i did my last move and it got fixed this is what i did ok.
    STep #1 Do a back up manualy onto your cmputer throu itunes (NOT ICLOUD) ok
    Step #2 after doing the the back up go and do on you phone or throu itunes do the factory reset setting and erase everything and make like new phone
    Step #3 Leave yhe iphone conected to Itunes.
    Step #4 Once your iphone is reset to factory setting on your Itunes Window will say NO SIM CARD DETECTED before clicking on your right up corner (DONE) slide your phone and it will appear conect to a network do the process and put the pasword of your WiFi and until it says conected,It will say (No Service) but it will be conected to WiFi  then click on the Itunes Window (DONE)
    Step #5 DO a back up recovery from the last back up you did onto your computer not Icloud ok!!
    Step #6 after you recovered your phone from last back up on your computer it will atumaticaly have service and WiFi conection like before..
    I hope i did explained well to you i did work for me after 7 hours of doing reset and back up =)

  • Hi, itunes is charging rs 60 everytime i do a purchase. It is the 3 rd time its happening. Pls help.

    Hi, itunes is charging rs 60 everytime i do a purchase. It is the 3 rd time its happening. Pls help.

    Do you add or change the card details or the name and address on your account on each purchase ? The holding charge check will be done each time that you do so to check that they are still valid - even if it's the same card it will still need to do the check to make sure that the card is still active.
    If they don't disappear within a week then you can contact iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How can i stop Pages and Numbers JUMPING ALL OVER THE SCREEN. MAKING ME SEASICK! PLEASE HELP

    how can i stop Pages and Numbers  screen JUMPING ALL OVER the place when i just touch my mouse. i have tried and tried to change the mouse settings - but it is the software. especially Numbers. you can't even see what the page size is until you print. i am so SEASICK! PLEASE HELP.

    Thanks for the trouble to reply. this problem only happens with Pages and Numbers for me. i have done all the tricks like restarting. the main problem is that the working space is not 'stable' - it has no 'ends' even on full screen. in Numbers - UNLESS I SET IT TO 25% VIEW (which is way too small) - the actual total 'work space' is way off the grid - so every time i move the mouse the table i am working on zooms off to left or right, at the slightest touch. i have set my mouse to no gestures!
    the thing is this did not happen before the latest upgrades.
    but thanks anyway. SG.
    if you are a techy person - i have another prob. in Mail i am unable to set the SORT / VIEW messages to BY DATE.
    (it used to be ok, at one time, too). now it continually reverts to BY SUBJECT oh so annoying !
    restarting etc does not change it. resetting preferences does not change it.
    maybe i need a new Mac ?
    mine is a 27-inch, Mid 2011. running latest.

  • TS1363 My iPod Nano 7th Generation couldn't be detected by iTunes when I plugged in. I tried resolving the issue by uninstalling the iTunes and then install it back again but yet still the same problem exist. Can you please help me to solve this issue?

    My iPod Nano 7th Generation couldn't be detected by iTunes when I plugged in. I tried resolving the issue by uninstalling the iTunes and then install it back again but yet still the same problem exist. Can you please help me to solve this issue? I have already updated to the latest version of iTunes on my Windows 8 and I cannot synchronize my iPod for the time being. Please do help me to solve this problem. Thank You.

    uninstall all iTunes,5 programes,this worked for me after reinstall them

  • HT201272 I purchased an audiobook in Nov 2012 using iPhone 4S and then upgraded to iPhone 5 in Dec. Now I am not seeing the audio book in purchase history in iTunes. This means I am not able to get the book in my new iPhone. Please help

    I purchased an audiobook in Nov 2012 using iPhone 4S and then upgraded to iPhone 5 in Dec. Now I am not seeing the audio book in purchase history in iTunes. This means I am not able to get the book in my new iPhone. Please help.

    Audiobooks are currently a one-time only download from the store. If you don't have it on your computer (audiobooks go into the Books part of your iTunes library) nor on a backup, then if it's still in the store you can try contacting iTunes support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

Maybe you are looking for

  • Apple TV upgrade installed, will not recognize my Remote App on iPhone 5

    I just installed the new Apple TV upgrade.  Now my iPhone 5 Remote App no longer works.  The message received on my iPhone is, "Could not find Apple TV."  Is anyone else experiencing this annoyance?

  • Getting started with Workflow

    We have recently implemented Duet Enterprise 2.0 (as it was then called) and are now looking to expand it's use into Procurement approvals. We have a simple approval setup in ECC with standard workflows pushing notifications out to approvers. I'm str

  • Specifying storage bin for quality inspection.

    Hello all, I am wanting to move a material, that is stored in multiple storage bins in our warehouse, into an inspection lot. I can create a 322 movement in MIGO however this doesn't specify storage bin location, it looks at the warehouse as a whole.

  • Bridge causes crash

    Hi, Just installed my new CS5.5 on my Mac running 10.6.8.  Never experienced anything like this before with any of the Adobe products.  In Photoshop, I choose "Browse in Bridge."  It opens.  When I then go to access ANY of the drop down menus, I get

  • I need OS 5.0 loaded to sync and t......... From 3G iPhone to MacBook pro laptop. How do I load 5.0?

    I need OS 5.0 loaded on MacBook pro to be able to. Sync and tether 3G iPhone and laptop. How do I load 5.0?