How to deactivate logging via brtools

Hello
I wander how to deactivate logging via brtools(640)
regards

hello,
Can u pl specify by logging what do u exactly mean?
I want to know if u meant to prevent users from logging to the database
or u want to deactivate the archivelog mode.
In the first if u want no user interaction on the database then take the database to mount mode instead of open mode by executing the following SQL
ALTERDATABASE MOUNT;
In the second case, if u want to turn the archivelog mode then do what VAle has suggested. But taking the database to nolog mode has a lot of serious demerits in the context to recovery and restoration of database in case of a crash. U wont be able to get the archive logfiles as the redo logfiles are over written in case of the database is in nolog mode.
So think twice before u take the database into nologmode.
Regards

Similar Messages

  • EA4500: how to send logs to syslog or via email?

    Hello,
    I absolutely need to collect the router logs and send them to a syslog daemon or via email.
    How xan I achieve that?
    Thanks

    The router does not have the feature where you can save the logs to a notepad, why not click on Open in Browser and then copy and paste the results to a notepad or wordpad so that you can go ahead and send it thru email.
    Please check link below how to enable logs in the router:
    Title: Enabling the Logs feature of the Linksys Smart Wi-Fi Router using local access
    Article ID: 26579

  • How to replace sapdba with brtools after upgrade database to 10.2

    All,
        I have update our database to oracle 10.2,my brtools version is 7.0 now ,
    but can't run analyze table and dbcheck in db13,
    seems to still use SQLDBA when run analyze table and dbcheck.
    please refer to the below informations.
    Detail log:                    0810080300.aly
    *****                 SAPDBA - SAP Database Administration for ORACLE     *****
    SAPDBA V6.10    Analyze tables
    SAPDBA release: 6.10
    Patch level   : 1
    Patch date    : 2001-05-25
    ORACLE_SID    : PRD
    ORACLE_HOME   : /oracle/PRD/102_64
    ORACLE VERSION: 10.2.0.2.0
    Database state: 'open'
    SAPPRD       : 46C
    SAPDBA DB USER:  (-u option)
    OS login user : prdadm
    OS eff.  user : prdadm
    SYSDBA   priv.: not checked
    SYSOPER  priv.: not checked
    Command line  : sapdba -u / -analyze DBSTATCO
    HOST NAME     : sapprd1
    OS SYSTEM     : HP-UX
    OS RELEASE    : B.11.31
    OS VERSION    : U
    MACHINE       : ia64
    Log file      : '/oracle/PRD/sapcheck/0810080300.aly'
    Log start date: '2008-10-08'
    Log start time: '03.00.09'
    ----- Start of deferred log ---
    SAPDBA: Can't find the executable for SQLDBA/SVRMGR. Please, install one of
            them or enter one of them in the SAPDBA profile (parameter
            sqldba_path).
            (2008-10-08 03.00.06)
    SAPDBA: Error - running temporary sql script
            '/oracle/PRD/sapreorg/dbacmd.sql' with contents:
    CONNECT /******** AS SYSDBA
    SAPDBA: Couldn't check SYSDBA privilege.
    SAPDBA: Can't find the executable for SQLDBA/SVRMGR. Please, install one of
            them or enter one of them in the SAPDBA profile (parameter
            sqldba_path).
            (2008-10-08 03.00.06)
    SAPDBA: Error - running temporary sql script
            '/oracle/PRD/sapreorg/dbacmd.sql' with contents:
    CONNECT /******** AS SYSOPER
    SAPDBA: Couldn't check SYSOPER privilege.
    ----- End of deferred log ---
    Analyze parameters:
    Object: All tables in table DBSTATC ( for DB optimization run )
    Method: E ( Default )
    Option: P10 ( Default )
    Time frame: 100 hours
    Refresh   : All objects
    Option: DBSTATCO ( for the DB optimizer: Tables with Flag DBSTATC-TOBDO = 'X' )
    ** Refresh Statistics according control table DBSTATC **
    Total Number of Tables in DBSTATC to be analyzed:                           170
    Number of Tables with forced statistics update (ACTIV = 'U'):                 0
    SAPDBA: SELECT USER# FROM SYS.USER$ WHERE NAME='SAPPRD'
    ORA-00942: table or view does not exist
               (2008-10-08 03.00.09)
    SAPDBA: Error - getting size of segment 'SAPPRD.D010INC'
    SAPDBA: Error - during table analysis - table name: ->D010INC
    SAPDBA: No tables analyzed ( No entries in DBSTATC with TOBDO = X or errors ).
    SAPDBA: 0 table(s) out of 170 was (were) analyzed
            Difference may be due to:
               - Statistics not allowed ( see DBSTATC in CCMS )
               - Tables do not exist on database and were skipped
    Detailed summary of Step 1:
    Number of Tables that needed new statistics according to DBSTATC:             1
    Number of Tables marked in DBSTATC, but non-existent on the Database:         0
    Number of Tables where the statistics flag was resetted:                      0
    ******* Creating statistics for all tables without optimizer statistics *******
    SAPDBA: Using control table DBSTATC
            for taking optimizer settings into account
    SAPDBA: 0 table(s) without statistics were found.
    SAPDBA: 0 table(s) ( out of 0 ) was (were) analyzed/refreshed.
            0 table(s) was (were) explicitely excluded or pool/cluster table(s).
    SAPDBA: 0 index(es) without statistics was (were) found.
    SAPDBA: 0 index(es) ( out of 0 ) was (were) analyzed/refreshed.
            0 index(es) was (were) explicitely excluded or pool/cluster indexe(s).
    SAPDBA: 157 table statistics from 157 tables were dropped.
            They are either explicitely excluded in DBSTATC,
            or R/3 Pool- or Cluster- tables
            that must not have CBO Statistics
    SAPDBA: The whole operation took 10 sec
    SAPDBA: Step 1 was finished unsuccessfully
    SAPDBA: Step 2 was finished successfully
    Date:   2008-10-08
    Time:   03.00.19
    *********************** End of SAPDBA statistics report ****************
    How to replace sapdba by brtools?please give me support,thanks.
    Best Regards,
    Mr.chen

    >     I have update our database to oracle 10.2,my brtools version is 7.0 now ,
    > but can't run analyze table and dbcheck in db13,
    > seems to still use SQLDBA when run analyze table and dbcheck.
    Yes, it does so, because somebody forgot to upgrade the BASIS SP as well...
    What BASIS SP are you using?
    regards
    Lars

  • How do i log into export pdf

    how do i log into export pdf?

    Hi gregb73859509,
    You can log in via either the web interface at https://cloud.acrobat.com or from within Adobe Reader, by clicking the blue Sign In link in the upper-right corner. In either case, use your Adobe ID and a password, and you should be all set!
    Please let us know if there's anything else we can help with!
    Best,
    Sara

  • How do I log onto iCloud w/o going thru Apple support?

    I'm a little late to the transition of switching to iCloud via MobileMe and very much spoiled from having an easy access bookmark.
    Aside from going through Apple Support how do I log on ? I'm using System OSX 10.7.4 on my MacBook Pro and OSX 10.4.11
    on my iMac. This is probably easier than I realise I know but would really appreciate an answer. Oh and yes, I have successfully
    "moved" over to iCloud via System Preferences to iCloud. I just want an easy access bookmark button.

    Thanks Kappy, this makes perfect sense. I actually was able to go through the support thread
    for access but never the " Log On Page " directly. That said how do I delete unwanted items
    from my Bookmarks Bar " in order to add iCloud ? the .mac button among others were added
    by me or my friend induplicating the lineup on my nw MacBook Pro. The icloud button would
    replace the .mac button on the bookmarks bar. Thanks for taking time to answer basic
    questions from a baby boomer 

  • Cannot view workflow log via Services for Object Workflow Overview

    We recently had an upgrade of R3/ECC and discovered a new issue.  For some reason we can no longer view workflow log via Services for Object > Workflow Overview for Material Master (transaction MM03).  We get the message "There are no workflows that have already worked with this object".  However, we have confirmed via SWEL and other t-codes that the workflow and log do exist.  This seems to be the only object we have this issue for after the upgrade.
    Anyone know what issue is and how to fix?   Or at least path to config in SPRO for "generic object services" where we can see if anything changed via upgrade for this object?
    Thanks,
    Matt
    Edited by: Matthew Huth on Apr 22, 2008 9:23 PM

    Found the solution.  See OSS note 553246.  This has been tested and works for us.   -Matt
    Note 553246
    Summary
    Symptom
    In the material master, the system no longer displays the attachments for the material or workflow items in the Generic Object Services.
    Other terms
    MM01, MM02, MM03
    Reason and Prerequisites
    As of Release 4.6B, business object BUS1001006 is valid for the material master. Until you have implemented Note 452424, the Generic Object Services is still published for the old BUS1001 business object. After implementing the note, all attachments, relationships, notes and workflow items that are assigned to business object BUS1001 are no longer displayed.
    Instead, all new attachments are assigned to business object BUS1001006. As a result, attachments cannot exist for both systems.
    For workflow items, the assignment to the business object occurs in the respective tasks. It may be very time consuming to convert the business object, depending on whether an individual subtype (assigned to BUS1001) is created.
    In other words, after you implement the note, the workflow items for business object BUS1001 can no longer be displayed in the material master.
    Solution
    With the following correction you can call the Generic Object Services for both business objects. When it is called, the system displays a dialog box in which you can choose the required business object, that is, BUS1001 ('Material') or BUS1001006 ('Standard material').
    This correction is delivered as a modification supported by SAP only. This is because the additional option means that attachments can be maintained as required in either of the business objects and users may therefore require extra training.
    However, the corrections enable you to display attachments and workflow items for both business objects without the need for a major conversion; this means that you do not get the impression that these have been lost.
    Alternatively, as of Release 4.70 (or Basis 6.20) you can, without making a modification, implement method ADD_OBJECTS of BAdI GOS_MULT_PUBLISH for filter attribute WF_OVERVIEW ('Workflow overview'), SRELATIONS ('Relationships') and VIEW_ATTA ('Attachment list'). The implementation should be similar to the following:
    METHOD if_ex_gos_mult_publish~add_objects .
      DATA:
        ls_lporb TYPE sibflporb.
      READ TABLE ct_lporb INTO ls_lporb INDEX 1.
      if ls_lporb-typeid = 'BUS1001006'.
        ls_lporb-typeid = 'BUS1001'.
        append ls_lporb to ct_lporb.
      endif.
    endmethod.

  • Online backup via BRTOOLS

    Hi there!
    I am planning to implement an online backup using brtools. When I did the testing, I noticed an error that prevents me from completing the backup. Hope anybody can help me. It seems that there is an error with the compress command but I cant seem to understand why. Below is the entire log of my backup. Btw, Im using ECC6 and Oracle Database 10g.
    Thanks in advance.
    >>> TNVT - to host 172.16.0.5
    su - e6padm
    AMC-E6P-DB:e6padm 1> brtools
    BR0651I BRTOOLS 7.00 (18)
    BR0280I BRTOOLS time stamp: 2008-10-26 00.32.45
    BR0656I Choice menu 1 - please make a selection
    BR*Tools main menu
    1 = Instance management
    2 - Space management
    3 - Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    4
    BR0280I BRTOOLS time stamp: 2008-10-26 00.32.50
    BR0663I Your choice: '4'
    BR0280I BRTOOLS time stamp: 2008-10-26 00.32.50
    BR0656I Choice menu 9 - please make a selection
    Backup and database copy
    1 = Database backup
    2 - Archivelog backup
    3 - Database copy
    4 - Non-database backup
    5 - Backup of database disk backup
    6 - Verification of database backup
    7 - Verification of archivelog backup
    8 - Additional functions
    9 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    1
    BR0280I BRTOOLS time stamp: 2008-10-26 00.32.51
    BR0663I Your choice: '1'
    BR0280I BRTOOLS time stamp: 2008-10-26 00.32.51
    BR0657I Input menu 15 - please check/enter input values
    BRBACKUP main options for backup and database copy
    1 - BRBACKUP profile (profile) ....... [initE6P.sap]
    2 - Backup device type (device) ...... [disk]
    3 # Tape volumes for backup (volume) . []
    4 # BACKINT/Mount profile (parfile) .. []
    5 - Database user/password (user) .... [/]
    6 - Backup type (type) ............... [online]
    7 # Disk backup for backup (backup) .. [no]
    8 # Delete disk backup (delete) ...... [no]
    9 ~ Files for backup (mode) .......... [all]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRTOOLS time stamp: 2008-10-26 00.32.55
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRTOOLS time stamp: 2008-10-26 00.32.55
    BR0657I Input menu 16 - please check/enter input values
    Additional BRBACKUP options for backup and database copy
    1 - Confirmation mode (confirm) ....... [yes]
    2 - Query mode (query) ................ [no]
    3 - Compression mode (compress) ....... [yes]
    4 - Verification mode (verify) ........ [no]
    5 - Fill-up previous backups (fillup) . [no]
    6 - Parallel execution (execute) ...... [0]
    7 - Additional output (output) ........ [no]
    8 - Message language (language) ....... [E]
    9 - BRBACKUP command line (command) ... [-p initE6P.sap -d disk -t online -m all -k yes -e 0 -l E]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRTOOLS time stamp: 2008-10-26 00.32.59
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0291I BRBACKUP will be started with options '-p initE6P.sap -d disk -t online -m all -k yes -e 0 -l E'
    BR0280I BRTOOLS time stamp: 2008-10-26 00.32.59
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2008-10-26 00.33.00
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0051I BRBACKUP 7.00 (18)
    BR0055I Start of database backup: bdzcoptc.and 2008-10-26 00.33.00
    BR0477I Oracle pfile /oracle/E6P/102_64/dbs/initE6P.ora created from spfile /oracle/E6P/102_64/dbs/spfileE6P.ora
    BR0280I BRBACKUP time stamp: 2008-10-26 00.33.01
    BR0319I Control file copy created: /oracle/E6P/sapbackup/cntrlE6P.dbf 18268160
    BR0280I BRBACKUP time stamp: 2008-10-26 00.33.02
    BR0057I Backup of database: E6P
    BR0058I BRBACKUP action ID: bdzcoptc
    BR0059I BRBACKUP function ID: and
    BR0110I Backup mode: ALL
    BR0077I Database file for backup: /oracle/E6P/sapbackup/cntrlE6P.dbf
    BR0061I 44 files found for backup, total size 178457.758 MB
    BR0143I Backup type: online
    BR0111I Files will be compressed
    BR0130I Backup device type: disk
    BR0106I Files will be saved on disk in directory: /installer/backup/E6P/bdzcoptc
    BR0280I BRBACKUP time stamp: 2008-10-26 00.33.02
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
    c
    BR0280I BRBACKUP time stamp: 2008-10-26 00.33.03
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0370I Directory /installer/backup/E6P/bdzcoptc created
    BR0370I Directory /installer/backup/E6P/E6P created
    BR0202I Saving init_ora
    BR0203I to /installer/backup/E6P/E6P ...
    BR0202I Saving /oracle/E6P/102_64/dbs/initE6P.sap
    BR0203I to /installer/backup/E6P/E6P ...
    BR0280I BRBACKUP time stamp: 2008-10-26 00.33.03
    BR0198I Profiles saved successfully
    BR0280I BRBACKUP time stamp: 2008-10-26 00.33.04
    BR0315I 'Alter tablespace PSAPSR3 begin backup' successful
    BR0201I Compressing /oracle/E6P/sapdata1/sr3_1/sr3.data1
    BR0203I to /installer/backup/E6P/bdzcoptc/sr3.data1.Z ...
    BR0278E Command output of 'LANG=C compress -c /oracle/E6P/sapdata1/sr3_1/sr3.data1 > /installer/backup/E6P/bdzcoptc/sr3.data1.Z':
    /oracle/E6P/sapdata1/sr3_1/sr3.data1: Invalid argument
    BR0280I BRBACKUP time stamp: 2008-10-26 00.33.04
    BR0279E Return code from 'LANG=C compress -c /oracle/E6P/sapdata1/sr3_1/sr3.data1 > /installer/backup/E6P/bdzcoptc/sr3.data1.Z': 1
    BR0224E Compressing /oracle/E6P/sapdata1/sr3_1/sr3.data1 to /installer/backup/E6P/bdzcoptc/sr3.data1.Z failed due to previous errors
    BR0280I BRBACKUP time stamp: 2008-10-26 00.33.07
    BR0317I 'Alter tablespace PSAPSR3 end backup' successful
    BR0056I End of database backup: bdzcoptc.and 2008-10-26 00.33.04
    BR0280I BRBACKUP time stamp: 2008-10-26 00.33.08
    BR0054I BRBACKUP terminated with errors
    BR0292I Execution of BRBACKUP finished with return code 5
    BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
    BR0280I BRTOOLS time stamp: 2008-10-26 00.33.08
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    s
    BR0280I BRTOOLS time stamp: 2008-10-26 00.33.12
    BR0257I Your reply: 's'
    BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:
    y
    BR0280I BRTOOLS time stamp: 2008-10-26 00.33.13
    BR0257I Your reply: 'y'
    BR0260E BRTOOLS cancelled by user
    BR0280I BRTOOLS time stamp: 2008-10-26 00.33.13
    BR0654I BRTOOLS terminated with errors
    AMC-E6P-DB:e6padm 2> exit
    AMC-E6P-DB:e6padm 3> logout
    >>>Closing capture file.

    Hi Scott,
    Thank you for the quick reply. However, I have another thing to bring up. I created an exact replica of this instance to a separate server for my online backup testing. I used mksysb for my rootvg and created a backup of my datavg and restored it to the new server. To my surprise, my online backup worked. Im currently running it so that I can upload the log in this thread. I checked on the version of the brtools and they are both of the same level. Also, I forgot to mention that I've been using offline backup via brtools since last year. It was only now that Im trying to implement an online backup. Would this problem still be caused by brarchive patch 18?
    Thanks in advance!

  • How can I start the BRTOOLS or BRGUI?

    Dear experts:
       I would like to ask you a question, that is how can I start the BRTOOLS or BRGUI?
       many thanks!
       Best Regards
    Edited by: feng Qiu on Jun 26, 2008 5:30 AM

    Hi fenq,
    Login as <sid>adm & run brtools after taht you fet the menu & many option
    BR*Tools main menu
    1 = Backup and database copy
    2 - Restore and recovery
    3 - Check and verification
    4 - Database statistics
    5 - Profiles and logs
    6 - Additional functions
    7 - Exit program
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR662I Enter your choice:
    After that choose option & than enter.
    If you have any query than message me freely.
    Karan

  • How to deactivate the "left top corner SAP menu" for a particular screen

    Hello Friends..
    We have a requirement to implement a "Non Disclosure Agreement(NDA)" for one of our SAP systems. NDA screen will have 2 buttons, "I agree" and "I disagree" which pops up when you log in to the system(after filling up our user id and password and hit enter). If we click on "I agree", it will allow you to continue with the log in and takes you to sap easy access screen. If we click on "I disagree", then session will be terminated.
    But, the NDA window which is being popped up is also a SAP screen which has SAP menu on top left corner. Without clicking on "I agree" or "I disagree" and if we try to select "Create session" option in SAP menu on top left corner, then it is taking us inside SAP(sap easy access screen) by bypassing the buttons.
    Request your help on how to deactivate the "left top corner SAP menu" for this particular NDA screen. (SAP menu to be available with other screens and it should not be available just for the window which is being popped up after log in and before SAP easy access)
    Many Thanks in advance..
    Vinay

    Hi Vinay,
    Try this if it works -
    in your first screen for the NDA screen, on the memnu bar select - EXTRAS - SETTINGS - Select the check box 'Do not display menu, only display favourites'.
    on calling the next screen , disable this option in the PBO of the screen.
    Try and let me know if it works.
    Thanks & Regards, Swapnil Mishra

  • How long redo logs keep the transactions?

    I learn Oracle and decide to do an experiment. There was a table in the test database. I deleted the file that contained this table via OS. And then I added transactions to this table.
    I did 'insert' several times, then 'commit', then 'alter system switch logfile' several times, 'alter system flush buffer_cache', 'alter system flush shared_pool' and nothing happened. I could add and take data from this table successfully. Alert log showed the error only when I shutdown the database.
    SQL> shutdown immediate
    ORA-01116: error in opening database file 13
    ORA-01110: data file 13: '/oracle/oradata/test5/POSTEMPTEST2.dbf'
    ORA-27041: unable to open file
    Linux Error: 2: No such file or directory
    Additional information: 3
    I understand that transactions are put in the redo logs at first, and then are transferred to the datafile on disk. I thought that command 'ALTER SYSTEM CHECKPOINT' writes transactions from redo logs to datafile on disk, but I was wrong. How long redo logs keep transactions? Is there the way to push data from redo logs to datafile?
    I use Oracle 10.2.0.1.0.

    i believe this time you will see the error message during your SQLsWRONG!probably you did not read the complete post of mine before saying WRONG. You tell me, if data file containing a table is deleted at OS level (in *nix), and then you try to insert data in this table and want to retrieve the data from the table (If data is not in db cache or cache has been flushed), from where data will come? Or if you want to insert some data into this table for which new extent are required to be allocated, where it will be allocated? Will your SQLs succeed or will return some error? Either SQL should return you data (which is not possible as data file is no there to fetch the data), or SQL should fail with some error message.
    I mimicked the situation on IBM AIX, following is the outcome.
    Enter user-name: system/salman
    Connected to:
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    SQL> create table test as select * from dba_tables;
    Table created.
    SQL> alter table test move tablespace users;
    Table altered.
    SQL> insert into test select * from dba_tables;
    2500 rows created.
    SQL> /
    2500 rows created.
    SQL> /
    2500 rows created.
    SQL> commit;
    Commit complete.Now i deleted the users01.dbf file at OS level and then execute following INSERT
    SQL> insert into test select * from test;
    insert into test select * from test
    ERROR at line 1:
    ORA-01565: error in identifying file '/oracle/oradata/test/users01.dbf'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3Salman

  • How to Deactivate broken BB8830 then Activate spare BB8830?

    I need to know step by step how to deactivate my broken BB 8830 and the activate my other never used BB 8830.  I want to keep the same Verizon services on the phone as I have on the old broken phone.   Thanks 

    1. Is your device working in that you can connect it to your PC? If so, hook it up via USB, open BlackBerry Desktop Manager (the software that came with your phone, or download it from the BlackBerry site). Go to Switch Device Wizard and follow the prompts to back up your old phone. (If your phone is dead, you will have to skip to step 2 and manually update everything on the new device. Or if you used Verizon's Backup Assistant, your contacts should be stored there.)
    2. Once backed up, turn off the old phone. From the new phone, dial *228. Listen for the prompts, then choose "activate device" (might be option 2, if I remember correctly). This should activate the other device without changing anything on your plan. If it won't activate over the air, your option is to call *611 (from a different phone number) and get help from a rep. You can also try to switch online at MyVerizon, using the ESNs, which will be printed on stickers behind your BlackBerrys' batteries.
    3. Once activated, you can hook up the new device to your computer and use Switch Device Wizard to get all your settings and apps back to what you had on the previous phone.

  • How much of logging is too much of logging?

    Hi All,
    OK, that was my question, how much of logging is too much of logging?
    Recently one of my co-worker (not me, not me at all) had written about 100 classes and after getting the framework right, he has now been asked to log all those bunch of classes and methods.
    He is damn bored and fed up with logging and he needs to log it in a ratio of 1 line of logging per 10 lines of code (approximately). And he also must log "ENTERING", "EXITING" in each method whenever he enters and exits a method.
    I personally like to log as little as possible, although we don't log everything in INFO and we do log a lot of things in DEBUG logging level, logging every method doesn't feel correct to me.
    And I hate too much of logging because to me it makes the code unreadable. Many of you will disagree this point, but I feel the important log statements often get messed up with those "ENTERING" and "EXITING" kind of log statements.
    And another question, when is the right time to log? Logging as and when we are writing the code or logging it after everything is done (like how the pure dude is doing now). The former seems to be the better.
    Your thoughts??
    Thank you

    Hi All,
    OK, that was my question, how much of logging is too
    much of logging?Too general for a one size fits all answer.
    And he also must log
    "ENTERING", "EXITING" in each method whenever he
    enters and exits a method.Sounds fine, especially if it logs the parameters passed to the method, as well as what it returned (if not void) or if it returned via exception.
    >
    I personally like to log as little as possible,
    although we don't log everything in INFO and we do
    log a lot of things in DEBUG logging level, logging
    every method doesn't feel correct to me.It's reasonable. During development, logging may be very verbose, but it can be useful. During production, you can configure the logging to not log at the DEBUG level, so you wouldn't see these log messages anyway and it shouldn't impact performance enough to be a concern.
    And I hate too much of logging because to me it makes
    the code unreadable. Many of you will disagree this
    point, but I feel the important log statements often
    get messed up with those "ENTERING" and "EXITING"
    kind of log statements.This is a perfect fit for AOP (Aspect Oriented Programming). Rather than clutter the code with these log messages, these can be "woven" into the bytecode at compile-time or run-time.
    Aspect-J is one popular AOP framework.
    http://www.eclipse.org/aspectj/

  • How to deactivate task complete in task properties for background task.

    Hi Workflow Experts,
          How to deactivate task complete in task properties for background task. Please suggest me.
    Thanks
    Ashraf

    Hi Ashraf,
    You misunderstood the problem. The workflow will never hang up when the Task complete icon is in green color.
    When you do agent determination and BO method assignement done properly in the task level, it shows green color.
    Try to check the workflow log and find out the issue.
    Reward points if it helps.
    Thanks,
    Saravanan.

  • TS1967 how to update games via itunes 11.01?

    how to update games via itunes 11.01...i cant see the application folder in itunes..and i dont see the option update  application...

    How many ID Apple have you got? more than one?
    If so, in you Itune go to Store->Account
    Log-in using the same email and password you used in your Iphone and click on see account.
    There you will see all your account information... Look for Purchase History and see if the apps your iphone is saying you have to update is on the list. If they are not listed on the Purchase History is probably because you got them using another ID Apple.
    But on the other hand if you see your apps on this list, try to click on "RESET ALL WARNIGS FOR BUYING AND DOWNLOADING ITEMS".
    Log-out and try again to update your apps using your Iphone.
    By all mean if you have to change you ID Apple in your Iphone go to SETTINGS->STORE on the botton you will see your ID Apple (click on it and a pop-up will show asking you to change you ID Apple) change for your new ID Apple and try all again.
    If any path I described here looks different  in you Itune is because mine is in Portuguese

  • How to deactivate accounts?

    Hello,
    Does anyone know how to deactivate accounts?
    The objective is to link to existing objects (contacts, opportunities, accounts/parent accounts) just activated accounts.
    I want to create a custom field ("Account Status" for example) to manage this need. But I don't know how to setup it.
    The second idea I have in mind is to delete the account. I'm pretty sure that it will be OK for links between other objects and "existing" accounts.
    The problem is that I cannot retrieve it via the search feature. I don't know if it is possible to keep "removed" accounts in the search.
    Any ideas?
    Regards,
    Mickael

    Hi !
    The Account Status field already exists in standard.
    With this field, desactivate accounts means just put Inactive in it.
    If you delete the account, you won't have it in the search results anymore. Only in the link Deleted items in the right top of the page.
    If you want to prevent user to link an Inactive Account to another object, I don't think yhere's a solution for the moment.
    Hope this will help, feel free to ask more !
    Max

Maybe you are looking for