Batch logging -- what do you use?

I have a new 10g database. We want to write some long running overnight batches. I wish to introduce a logging process. If we switch this on (ie set logging = yes) I want each process to write error and information messages to a new batch log file.
In other databases we have written some in house batch logger stuff which is a pain to support. Surely every major installation must do this and I dont want to write a bit of logging software.
Q) Is there a standard logger you all use? Do oracle provide one?
Note I have already looked at log4plsq but this seems to rely on dbms output which I am not happy with as you can easily break the buffer limit.

No I dont think so. I would have thought that all
major batch processing systems have this requirement
in general to write error/info/debug information to a
file or table.True. Different applications may well have different requirements, however. Generic frameworks are great for logging unstructured information. Custom frameworks tend to be more useful when you need to log more structured information (i.e. writing exceptions to a table, logging application-specific status messages for monitoring, etc).
I am aware of this approach but this does have a few
limitations mainly :
a)if the tablespace is full then you are unlikely to
write to the tableTrue. However tablespaces filling up generally trigger pages to DBAs, so it's relatively unlikely that anything your application logs in this situation will be beneficial. I
b)writing of to the table has to be handled
independent of the commit strategy of the main
program.Not if you use autonomous transactions
c) we have requirement that this informaiton is
written to a fileIt seems somewhat silly to me to log to a flat file from a database-- having error information in tables lets you query it much more efficiently than you can search a bunch of flat files. File I/O also tends to be quite expensive relative to table writes, which can really hurt batch processes. Log4PLSQL, however, does permit you to log to the alert log or to a database trace file.
Justin
Looks like APC beat me to it and covered the same points I did. Glad to see we generally agree.
Message was edited by:
Justin Cave

Similar Messages

  • Looking for a drum loop app that will run in the background. What are you using?

    Looking for a drum loop app that will run in the background. Suggestions? What are you using? I tried Loopseque and I like it, but I can't make it run once I switch apps. Help please.

        That's definitely strange, kzmidge. I want a working phone in your hands though. I noticed you mentioned you received the suggestion to complete a reset. Did you already do that? Is it working again? Are you receiving an error message?
    If you hesitated a little longer to complete the reset, you can try to place your phone into Safe Mode http://vz.to/rxg0ii and see if you can access mobile sites from your browser. This mode will stop 3rd party applications from running, so you won't be able to use the apps you mentioned but we may be able to narrow down the trouble in Safe Mode. If the mobile sites work, that means the trouble may be in a recently downloaded application and you may be able to avoid the reset my uninstalling some of your more recently installed applications. If it's still giving you trouble, the reset http://vz.to/18wzOCi is the next best step.
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • What are you using as a Flash replacement for 64-bit machines?

    Hi,
    I was reading about the vulnerabilities in Adobe's Flash and decided to remove the offending package. I opened Chromium to make sure my Flash still worked, as I understood that Chromium implemented another method for rendering Flash stuff. I was wrong. For example, YouTube tells me that I need Flash 10 or higher. I tried to re-install the flashplugin package, but it is no longer in the repos.
    I can live without Flash content, but it's nice to have.
    So the question is, what are you using instead, that can be installed from the main repos?
    Many thanks,
    Chris.

    I have installed both lightspark 0.4.3 and gnash 0.8.8, since lightspark should be able to 'fall back to gnash for older videos' (see changelog of lightspark).
    I have tried some flash-websites in firefox and all of them seem to use gnash and there was 1 website that didn't load the content (www.deredactie.be - our national tvstation). So, I'm under the impression that lightspark is not used by firefox.
    Has anyone found out how to do this?
    Secondly, gnash should be able to use VA-API (hardware acceleration). Is it just a question to install libva and let gnash do the rest, or does one have to recompile gnash to build the support in?
    Zl.
    PS: to whoever thinks flashplugin is the 'real flash': gnash has beaten it in terms of providing hardware acceleration. hooray for opensource!

  • What do you use to write Java programs?

    Hi. Do you mind if I ask you what do you use to write your programs in Java? I am a student and we are using NetBeans IDE 3.6. I know it is a bit old but the tutor says we must stick to that one. What is best for writing Java programs?
    Thanks.

    Do you think those things will make things easier or is it more complex?If you're learning on your own, you'd better use something more up to date (most probably better interface, childhood bugs fixed, and better support on the Internet).
    If you're in a classroom, or a training room, you'd better use what the instructor tells, or at least what other students/trainees use. Easier to get help and share tips if everyone has the same setup.
    Good luck learning Java.

  • What do you use instead of picture package in photoshop cs6

    What can you use instead of picture package in photoshop cs6. You cannot import it anymore to make pictures. I do not want to print one at a time.

    I think the Bridge Output Module comes as standard with CS6, but I might be wrong.  Even if you have CC, you can download the Output Module.
    Install Adobe Output Module

  • What do you use to clean screen

    What do you use to clean screen?

    Usually just a cloth is good. If you want to keep fingerprints off you could buy an anti fingerprint screen protector or use the apple smart cover, which cleans the screen whenever you use it.

  • What do you use if you need flash player for something?

    What do you use if you need flash player for something?

    There are some browsers in the app store that accommodate flash. Compatibility and effectiveness vary. Your best bet is to read the reviews and fnd something that works for you.

  • What do you use to create distributable packages with ARD?

    What do you use to create distribution packages for ARD?
    I.E. a package for installing the new Oracle Java 7.21 on all our machines.
    Or, a package for installing Micosoft Office 14.3.2 udapters?
    Specifically for 10.7 and 10.8 users.
    Install Ease?
    Jamf Composer?
    Packages?
    xCode PackageMaker?
    Which one should I put my time into using?
    Thanks.

    Nicolas, Have you been able to get the Adobe Update to work? I get stopped at the first step, putting in the command-line to install the AUS2.0. I think we have a support Contract, i should probably just ask Adobe for assistance.
    Does noboby create their own distributable packages? Maybe i'm looking at this wrong.
    I see that even Microsoft puts their updates into a .pkg file that is pushable through ARD. Maybe most everyone else does?
    I was able to get an Adobe Flash Player Distributable installer, from Adobe, you have to fill out a form asking for permission for the distributable installer, and they send you a link to the files.. ugh. but fine. I have the .pkg installer for Flash, and that works pushing out over ARD.
    http://www.adobe.com/products/players/flash-player-distribution.html
    I guess my life would be great, if i can just get a Updater source for CS5.5 and CS6.
    I did create the Adobe Package distribution for actually installing the CS6 over ARD. That works.
    I have a licensing glitch on deploying new machine off a build that has CS6 on it. I'm able to get around the licensing glitch by using the Adobe Serialization tool, that's fine.
    I guess i'm just looking for a CS6 Updates tool. I'm fine creating a CS6 updater package using InstallEase or something. I'm wondering what the best one is.
    IF most everything already comes as a .pkg file nowadays, and it's just Adobe that's difficult. I guess there's not really a need to create .pkg files for anyone? So nobody really uses them?

  • Documents managment: what do you use?

    I've been trying to find a good document manager to organise the mess I have in articles, lecture notes, books, etc, mostly in pdf format. So I need a tool like Referencer (http://icculus.org/referencer/) or gPapers (http://gpapers.org/) that could help me with that. Lamentably, both of them have a large list of dependencies, like hal and some gnome stuff, I would like to avoid. So I wander if any of you knows about some other, less bloated, tool to do the job.
    Maybe one of you have made a nice little script to retrieve BibTeX citations plus a database, or something along those lines.
    So, what do you use to organise your bibliography?

    itsbrad212 wrote:The only documents I read are pdf's, so I use either mupdf or zathura for that.
    EDIT: Wouldn't this fit better in Off-Topic, as this is in the section for requesting help?
    I am asking for help. Despite the title, this wasn't meant to be a poll, and for sure not about document readers, but I get where the confusion arises.
    So far it seems mendeley is the closest thing to what I'm looking for, it looks fairly complete. But I dislike 2 things, it being closed source and the need to create an account to use the full featured program. I think I will use it though, at least while I find a replacement or make some time to write a script to retrieve the bibtex citations from internet.
    I won't mark the thread as solved in case someone else knows about a good way to manage bibliographic material.

  • What do you use to read .stn files on mavericks?  Genuine fractals doesn't work any longer?

    What do you use to read .stn files on mavericks?  Genuine fractals doesn't work any longer?  I get an error message that adobe photo shop 5 cant open it because the modules? arent right.  I assume that it is because I now have an intel machine. I know other people have used this file format and so how do you open your photo files?

    When I try to open in Adobe Reader is says, "Adobe Reader could not open 'Blank-AF 77-LOE.xfdl' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."  Now what.  I didn't email it.  I transferred from an external hard drive.  The file opens just fine on a Windows PC.

  • Carrying Case - Ultrabay Drives --- what do you use?

    What do you use to carry your external ultrabay drive?
    I'm looking for a rigid case for my ultraslim drive for added protection, since it normally sits inside my bag, without any good protection./
    THanks!

    Hi,
    I put my mac's in a spare camera pouch.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • What do you use to listen to streams / podcasts / last.fm ?

    I'm looking for a way to manage my stream, podcast and last.fm music listening, preferably through a single  ncurses or a GTK based interface. I'm still using BMPx which is a buggy, no longer maintained resource hog but has some features that I really like such as:
    - uncluttered intuitive interface
    - Last.fm tag cloud, similar artists, album art, quickly look up artist info on the web
    - easy way for searching and filtering shoutcast and icecast streams
    What do you use?

    Great guestion mate!
    I use smartphone LG Spirit 4G for Netflix and Spotify on the go with Sennheiser CX2.00G earphones. Great sound, really stunning bass and vocals on these. Pleased everytime to hear every detail outside home no matter music or series/movies. 4.7" screen.
    At home I will try to use for music Pioneer SMA1 again, as finally I can remote it with new phone without problems. Cheap phone was freezing on app all the time. For series/movies I have Philips 42PFL5008T 42" Smart-TV. I remote Netflix and YouTube app now using my phone - as it never freezes now. Old was unable to remote well, as it was cheap.
    On laptop I do everything else. Since laptop is Ubuntu, Netflix will not work and Spotify app is no-needed and hard to install, web player low quality. Laptop is for forums, surfing, blogging etc.

  • What would you use to clean a USB female connector on a TP X200?

    I accidentally spilled some thick sugary drink in there which dried up. What would you use to make it usable again?Thanks.

    Try a cotton swab dipped in isopropyl alcohol. Make sure to remove the power supply and battery and have plenty of swabs on hand. Don't soak the connector

  • What do you use to speed up final cut pro x on my macbook pro early 2011?

    what do you use to speed up final cut pro x on my macbook pro early 2011?

    I  don't use anything to speed up FCP X on your MBP. 
    Seriously we need statistical info on why you think it needs speeding up.
    Poor performance is often associated with incorrect usage, lots of other apps open or a hard drive that is more than 75% full or fragmented.
    Ideally all the media should be stored on an external hard drive and not the MBP's.

  • Is there a good GUI tool on linux for backups? What do YOU use?

    Hi all,
    I feel Linux lacks a good and simple graphical tool to do desktop backups for regular users. I'm thinking of writing one myself (probably a front-end to a good command line tool), but before I get started, I want to make sure I'm not reinventing the wheel.
    So:
    - Is there a good graphical tool available already? It should be: simple (minimalist interface, sane defaults), fast and incremental.
    - What do YOU currently use for your desktop backups?
    EDIT: rsync alone is not great, because a good backup solution keeps multiple snapshots. Imagine you deleted a file by accident 15 days ago, and realize only today: rsync won't save you.
    EDIT2 : I have tried backintime, I think it's a step in the right direction, but it's not that great. Maybe I should improve on it instead of starting something new, though.
    EDIT3 : Has anyone tried PyBackPack (http://andrewprice.me.uk/projects/pybackpack/) ? I'm trying it at the moment and it seems to be getting it right. I'd like to hear some success stories before getting my hopes to high
    Last edited by lardon (2010-05-11 13:33:55)

    It doesn't snapshot -- I occasionally back-up my back-ups and don't need that -- but it does its job well.
    #!/bin/bash
    ### System Backup ##############
    # Version 0.5 by Scott Garrett #
    # Wintervenom [(at)] gmail.com #
    backup_label="demonpit"
    exclude="/dev/shm/rsync-excludes.rc"
    excludes=(
    'tmp/*' # Temp files.
    'tmp/.*' # Hidden temp files.
    '.mozilla/firefox/*/Cache' # Firefox caches...
    'cookies.sqlite' # Mozilla-based cookies.
    'formhistory.sqlite' # Mozilla-based form history.
    '.thumbnails' # Thumbnail cache.
    '.recently-used.xbel' # Recent-open history.
    '.ccache' # Compiler caches
    'sessionstore.js' # Firefox session-saves.
    '.gvfs' # GNOME virtual filesystem.
    '.local/share/Trash' # XDG trash.
    '.local/share/user-places*' # Recent-open history.
    '.purple/logs' # Pidgin/Finch logs.
    '.cache/Thunar/thumbnailers.cache' # Thumbnailer cache.
    '.cache/chromium' # Chrome cache.
    '*~' # Backup/temp files.
    out () {
    echo ">> $*"
    stat_done () {
    echo ">> ...done."
    stat_fail () {
    echo ">> ...failed!"
    if [ $UID != '0' ]; then
    echo "Must be executed as root user."
    exit 1
    fi
    out "Mouting backup device ('$backup_label')..."
    backup_dev=`readlink -f "/dev/disk/by-label/$backup_label"`
    if mount | grep -qF "$backup_dev on"; then
    backup_root=`mount | grep -F "$backup_dev on" | cut -d' ' -f3`
    echo " - This device seems to already be mounted at '$backup_root'."
    echo ' Do you want to use this, instead (y/N)?'
    echo -n ' << '
    read -n1 confirm
    echo
    [ "$confirm" != 'y' ] && exit 1
    else
    backup_root="/mnt/$backup_label"
    mkdir -p "$backup_root"
    if ! mount -o noatime,user "$backup_dev" "$backup_root"; then
    echo ' - Failed to mount device.'
    exit 1
    fi
    echo ' - Device mounted successfully.'
    fi
    out "Backing up system..."
    echo > /tmp/rsync-excludes.rc
    for file in ${excludes[@]}; do
    echo "$file" >> "$exclude"
    done
    rsync -axl -h --progress --delete --delete-excluded --exclude-from="$exclude" /{home,usr,opt,var,*bin,lib*,etc,boot,root,srv} "$backup_root/$HOSTNAME"
    mkdir -p "$backup_root/$HOSTNAME/"{dev,sys,proc,tmp,mnt,media}
    mkdir -p "$backup_root/$HOSTNAME/var/"{tmp,lock}
    chmod 1777 "$backup_root/$HOSTNAME/tmp" "$backup_root/$HOSTNAME/var/"{tmp,lock}
    stat_done
    out "Backing up package list..."
    pacman -Qqe | grep -v "$(pacman -Qmq)" > "$backup_root/$HOSTNAME/pacman.list"
    pacman -Qmq > "$backup_root/$HOSTNAME/aur.list"
    stat_done
    out "Unmouting backup partition..."
    if umount "$backup_dev"; then
    rmdir "$backup_root/$HOSTNAME"
    rmdir "$backup_root"
    else
    echo ' - Could not unmount.';
    fi

Maybe you are looking for

  • Processo Standard de Archiving para GRC NFe Inbound

    Olá pessoal tudo bem?     Mais uma vez gostaria de apoio para definir a melhor estratégia. Estou em um projeto de implementação do GRC NFe In com o SP16, o ambiente ainda não está pronto para customizações e testes porém algumas preocupações surgiram

  • How can I use a song in my ipod as a ringtone on my iphone?

    On my old iphone, I used to have ringtones of songs from my ipod. Now that I have a new iphone, my ringtones are no longer there. How can I use a song (or part of a song) as a ring tone?

  • Fact tables are resulting in error message

    hello experts; I am trying to create a mock-up report in OBI Answers and somehow Im having a problem with metric columns. When I pick any metric column then I get the: *(No Results: The specified criteria didn't result in any data)* I have doubled ch

  • Help!, unable to install or unistall due to windows messanger?

    If anyone can help it will be great. I am unable to install or unistall flashplayer as it says window messanger is open..i have checed and double checked and its not. I am on windows xp. Not sure you need any further information, if you do please tel

  • Constant crashes since updating - any help appreciated

    since updating my 2009 2x2.26 GHz quad core Xeon to the latest operating system, I've been getting steady kernal panics whlie using safari or surfing the web. I suspect it might be one of my graphics cards, but ca'nt tell. if anybody can shed some li