Log function

Hi, Everyone
Can anyone please tell me how to use log function with base as 10 in OWB....?
Thanks a many...

Hi,
use an expression: log(10,x)
Regards,
Carsten.

Similar Messages

  • Disable iphone logging function

    My IPhone currently having wifi grayed out problem, and along side with it, the logging function is driving me crazy. Because IPhone attemp to active wifi chip every second. It mean that every second, log will be written because of fail on ative wifi chip and it consume battery as well as storage. For a week it grow over 3GB. So is there anyway that I can disable this logging function on IPhone and/or stop IPhone from attemp to active wifi chip?

    You can try turning WI-FI off all together by going to Settings>Wifi>swipe off. If the problem persists call Apple call 800-275-2273. Good Luck!!!

  • Log Function behaving diffently in SQL vs Pl/SQL

    Hello
    This equation works OK in SQL but its implementation in PL/SQL throws an error:
    SELECT CAST(LOG(2,32) as FLOAT) FROM DUAL;
    Returns: 5
    vs
    x FLOAT := 0;
    x := CAST(LOG(2,32) as FLOAT) ;
    PLS-00382: expression is of wrong type
    Incidentally I ran into a situation where LOG(2,32) return 5 in SQL but returns 4 where formatted TRUNC(LOG(2,32),0)
    Any assistance would be appreciated

    [email protected] wrote:
    This is not so much specific to LOG function. More a so "rounding behavior" of SQLPLUS due to environment default settings.??? It has nothing to do with rounding. You'll get same PLS-00382 for pretty much any built-in function:
    SQL> declare
      2  x FLOAT := 0;
      3  begin
      4  x := CAST(LOG(2,32) as FLOAT) ;
      5  end;
      6  /
    x := CAST(LOG(2,32) as FLOAT) ;
    ERROR at line 4:
    ORA-06550: line 4, column 11:
    PLS-00382: expression is of wrong type
    ORA-06550: line 4, column 1:
    PL/SQL: Statement ignored
    SQL> declare
      2  x FLOAT := 0;
      3  begin
      4  x := CAST(POWER(2,32) as FLOAT) ;
      5  end;
      6  /
    x := CAST(POWER(2,32) as FLOAT) ;
    ERROR at line 4:
    ORA-06550: line 4, column 11:
    PLS-00382: expression is of wrong type
    ORA-06550: line 4, column 1:
    PL/SQL: Statement ignored
    SQL> declare
      2  x FLOAT := 0;
      3  begin
      4  x := CAST(mod(3,2) as FLOAT) ;
      5  end;
      6  /
    x := CAST(mod(3,2) as FLOAT) ;
    ERROR at line 4:
    ORA-06550: line 4, column 11:
    PLS-00382: expression is of wrong type
    ORA-06550: line 4, column 1:
    PL/SQL: Statement ignored
    SQL> Oracle still maintains two separate engines for SQL and PL/SQL. And the above bug is obviously related to that. Now same built-in function has separate implementation SQL and PL/SQL. In PL/SQL it is package STANDARD. At first I thought it is where bug manifests itself. However:
    SQL> SELECT CAST(sys.standard.LOG(2,32) as FLOAT) FROM DUAL;
    CAST(SYS.STANDARD.LOG(2,32)ASFLOAT)
                                      5
    SQL> So most likely bug is caused by FLOAT implementation in PL/SQL.
    SY.

  • How to use Log function

    for(i=0;i<scaleX;i++)
                   for(j=0;j<scaleY;j++)
                        zb[i][j]=(double)R_matrix[i][j];
                        zb[i][j]=log(zb[i][j]); // error in this line
                        R_matrix[i][j]=(int)zb[i][j];
    Error message:
    C:\Users\Ajay\Desktop\Ajay Kumar\Temp\Temp2\Temp3\Log of image\cca_SplitImage.java:197: cannot find symbol
    symbol : method log(double)
    location: class JpgImage
    zb[i][j]=log(zb[i][j]);
    ^
    1 error
    7 warnings
    Process completed.
    Edited by: vijaymandavav on Sep 17, 2008 11:40 PM

    Hi, when you get an answer to this I'd be interested to hear it too.
    I found this:
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html#log(double)
    I'm completely new to Java, but I think to use the log function you need to write: Math.log( ) and the output number has to be a double rather than just an integer or long . The inputValue might also need to be a double, not sure though as int works fine in my program.
    Also the log function is in the natural base rather than 10. If you wanted to take log to base 10 of, for example, 100, which should give you an answer of 2; you need to do ln (which is the natural log) of 100 divided by ln of the base you want, in this case 10:
    log10 (100) = 2
    ln(100) / ln (10) = 2
    so in code:
    int logBase = 10;
    int inputValue = 100;
    double outputValue = 0;
    outputValue = Math.log(inputValue) / Math.log(logBase);
    System.out.println("Output value should = " + outputValue);Let me know if that helps.

  • Does SDDM have Journaling/History/Logging functionality?

    Does Data Modeler have some kind of Journaling/History/Logging functionality that will generate DDL for journaling/history/logging tables and triggers?
    Regards,
    Marc de Oliveira

    I assume you are looking for something like the Journal flag in Designer that generated all sorts of cool code? I have not found anything like that but I think you might be able to use the transformation script functionality to autogenerate some of it. The table template transformation works great for adding the standard audit columns to all the tables in a design, so I am sure you could write a "transformation" script that would clone the tables, change the name i.e., add _jn), add the journaling columns then add the triggers to do the population.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Using the 'LOG' Function in a Formula Column

    If I write the following SQL statement at the SQL prompt, it works :
    SELECT LOG(sal,10) FROM emp ; But, if I write a similar statement in the formula column of a report, then it does not work :
    SELECT LOG(sal,10)
    INTO x_variable
    FROM emp
    WHERE empno = :empno ;
    return (TRUE) ;
    It would be great if someone can help.

    Try This..
    In the formula columns pl/sql place the following:
    function cf_1Formula return number is
    num number;
    begin
    num := log(sal, 10);
    return ( num );
    end;
    -- cf_1 is the formula col name
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
    If I write the following SQL statement at the SQL prompt, it works :
    SELECT LOG(sal,10) FROM emp ; But, if I write a similar statement in the formula column of a report, then it does not work :
    SELECT LOG(sal,10)
    INTO x_variable
    FROM emp
    WHERE empno = :empno ;
    return (TRUE) ;
    It would be great if someone can help. <HR></BLOCKQUOTE>
    null

  • Help with log function

    Hallow experts,
    I'm doing an  interface from sap into anther  application and in this interface (log interface) I use two  function  below in program and I have to send to customer in text file in which field of infotype change was made
    This to function helping me but I miss the action like insert was made or update or delete
    Did dome one can help me with that?
    HREIC_GET_LOGGED_INFTY_CHANGES
    HR_INFOTYPE_LOG_GET_DETAIL
    Best Regards

    hi Naveen Bathini
    thankes for your answer
    i thihk u dont understand me ,
    HR_INFOTYPE_LOG_GET_DETAIL bring table fields with all the field that change
    but i dont now if user create new infotype for employee or just take one field and change it like from infotype 0006 just change street or postal code
    i wont to now if it is an insert (create new infotype ) or update or delete fields from infotype.
    Best regards

  • SAP PI  Logging functionality

    Hello All,
    We want to implement Logging functionalty in our PI. We want to write the logs on PI file system. For example the log like when file enters the PI server we write a log " Message entered the PI"...another is when the map successful run " map completed".....So we want to do this kind of Logging.
    Also we want to know:
    What API can we use for Logging in PI?
    Can we use log4J functionality?
    Appender functionality for logs
    Max file size.
    Thanks and Regards
    Hemant

    Hello Hemant,
                            SAP 7.1 Ehp1 came up with this option but i am not tried of this how exactly we can utilise this
    By the way what is your earlier EAI tool ..
    I tried this and not able to find out how we can log for application data.. but no need to worry sap had extensive logging feature.
    May be you have to come up with Dynpro application of NetWeaver for this..
    I think you have to discover this
    check below link may give some insight
    http://help.sap.com/saphelp_nwpi71/helpdata/en/8e/a8b5386f64b555e10000009b38f8cf/frameset.htm
    Rajesh

  • [SOLVED] Gnome System Log Functionality

    Hello everyone.
    I currently have an Arch install and I prefer to use the Gnome desktop environment.
    I really enjoy the functionality of journalctl but I would like to have some ease of use over functionality at times. I noticed that Gnome's System Log viewer only shows pacman.log and boot.log. It was my understanding that this application was developed to show other logs for journalctl. I'm guessing I do not have something installed or enabled.
    Any pointers?
    Thanks.
    Last edited by jmanes (2015-04-11 06:56:08)

    pszafer wrote:I think gnome-system-log is somehow deprecated.
    You should use gnome-logs (https://www.archlinux.org/packages/extr … nome-logs/), but for me it returning error 404
    Indeed it is! Thank you very much for this information. I installed gnome-logs and removed gnome-system-log and everything is great now!

  • View Log Function on Palm TX opens in Windows Media Player, instead of a new window.

    hi,
    when i clicked on "view log" after a hot sync operation a few hours ago, it brought up windows media player which, of course, could not display it. this is the first occurrence. i am using a palm tx with desktop version 4.2 and a hot sync version of 6.0.1. Strangely, view log opened up on my handheld as it has done many times. i closed the hot sync program, then opened it, and tried a hot sync--no go, media played still opened.
    i'm running the palm program on an IBM Thinkpad, with windows xp pro, SP2.
    thanks, in advance, for your advice.
    campus56
    Post relates to: Tungsten E

    Your computer has a File Association problem.
    The HotSync log file on a PC has an extension of .htm.  Somehow, your computer has associated Windows Media Player with that type of file.
    Open My Computer, then pick the Tools tab.  Choose  Folder Options, then the File Types tab.
    Scroll down to the HTM file extension, and see what program is associated with it.  I'm betting it says Windows Media Player.  Tap the "Change" button, and pick the web browser program you use (mine is set to FireFox).  Click the checkmark in "Always use this program" then click OK.  
    Now it should open correctly.
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How to log input parameters for Function Modules?

    Hi,
    I need to create a Logging system to trace input parameters for function modules.
    The log functionality could be done by developing a class method or a function module (For example 'write_log'), and calling it within each function module that I want to log. The 'write_log' code should be independent from the interface of the Function Module that I want to log.
    For example, I'd like to write a function/class method that can log both these functions modules:
    Function DummyA
       Input parameters: A1 type char10, A2 type char10.
    Function DummyB
       Input parameters: B1 type char20, B2 type char20, B3 type char20, B4 type Z_MYSTRUCTURE
    Now the questions...
    - Is there a "standard SAP" function that provide this functionality?
    - If not, is there a system variable in which I can access runtime all parameters name, type and value for a particular function module?
    - If not, how can I loop at Input parameters in a way that is independent from the function module interface?
    Thank you in advance for helping!

    check this sample code. here i am capturing only parameters (import) values. you can extend this to capture tables, changin, etc.
    FUNCTION y_test_fm.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(PARAM1) TYPE  CHAR10
    *"     REFERENCE(PARAM2) TYPE  CHAR10
    *"     REFERENCE(PARAM3) TYPE  CHAR10
      DATA: ep TYPE STANDARD TABLE OF rsexp ,
            ip TYPE STANDARD TABLE OF rsimp ,
            tp TYPE STANDARD TABLE OF rstbl ,
            el TYPE STANDARD TABLE OF rsexc ,
            vals TYPE tihttpnvp ,
            wa_vals TYPE ihttpnvp ,
            wa_ip TYPE rsimp .
      FIELD-SYMBOLS: <temp> TYPE ANY .
      CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE'
        EXPORTING
          funcname                 = 'Y_TEST_FM'
    *   INACTIVE_VERSION         = ' '
    *   WITH_ENHANCEMENTS        = 'X'
    *   IGNORE_SWITCHES          = ' '
    * IMPORTING
    *   GLOBAL_FLAG              =
    *   REMOTE_CALL              =
    *   UPDATE_TASK              =
    *   EXCEPTION_CLASSES        =
        TABLES
          exception_list           = el
          export_parameter         = ep
          import_parameter         = ip
    *   CHANGING_PARAMETER       =
          tables_parameter         = tp
    *   P_DOCU                   =
    *   ENHA_EXP_PARAMETER       =
    *   ENHA_IMP_PARAMETER       =
    *   ENHA_CHA_PARAMETER       =
    *   ENHA_TBL_PARAMETER       =
    *   ENHA_DOCU                =
       EXCEPTIONS
         error_message            = 1
         function_not_found       = 2
         invalid_name             = 3
         OTHERS                   = 4
      IF sy-subrc = 0.
        LOOP AT ip INTO wa_ip .
          MOVE: wa_ip-parameter TO wa_vals-name .
          ASSIGN (wa_vals-name) TO <temp> .
          IF <temp> IS ASSIGNED .
            wa_vals-value = <temp> .
          ENDIF .
          APPEND wa_vals TO vals .
        ENDLOOP .
      ENDIF.
    ENDFUNCTION.

  • UDP FLOODING and NON-FUNCTIONAL INBOUND LOG

    Hello,
    I have been using Linksys Routers since 1998, IIRC. I just bought a new "Cisco" (LINKSYS) E1200 and
    the INBOUND log does not work, even after activation the log function in the "Administration" area. The
    OUTBOUND log works.
    Also, my desktop workstation (a Dell T3500 running XP SP3) is being flooded with inbound UDP on
    port 1900, which is usually used for Universal Pllug and Play.
    HOWEVER, I have all of that that can be disabled, disabled. The router works fine as a DHCP server
    but I do have the problems described. It even allows ICMP through sometimes as well as NetBios
    name requests on incoming UDP port 137. Netbios is deactivatived on my computer on port 139
    as well a SMB on TCP port 445 (via a registry configuration). Nothing is listening on any ports except
    TCP port 44334. (that's my software firewall).
    I know the inbound log is not working because I have had my ports scanned and nothing shows up
    in the inbound log, TCP or UDP or ICMP. I know the outboung log (which is very small) works because
    I see the IP addresses in the outbound log. (please see the attachment)
    How do I fix the problems?

    That router has been out a long time now, since 2011 I think. As a home router it works pretty well for the basic stuff but it seems to me that all the "home" routers are a little hit or miss on how they handle more specific things like what you are taking about. I would see if it has the  latest firmware installed on it. That may possibly clear up some of it. If not you may want to contact linksyscares and see if they can help you. I wish cisco was still building these but since they sold this line to Belkin the quality seems to have suffered in my opinion.  Hopefully it will improve over time

  • Bash function - command wrapper with logging needed

    Hello!
    I'm preparing automation scripts and I need a function which could:
    1. Execute a bash command and return its exit status
    2. Show both stdout and stderr on screen
    3. Append both stdout and stderr to a single log file, preserving order
    So far I have:
    execCmd()
    (eval "$@" 2>&1) | tee -a $LOG_FILE
    return ${PIPESTATUS[0]}
    Unfortunately, when I'm using it with pacman to install some package, it doesn't capture all of output e.g. progress bars are not visible nor logged.
    I also tried using 'script' command but it had its own drawbacks.
    Do you have any suggestions how to improve it?
    Do you have your own similar logging wrappers?

    Pacman (or whatever underlying utility it uses) probably chooses not to draw progress bars when it detects that its stdout isn't a tty.  The only way I know of to do this is to create a pseudotty and execute your commands with that as their stdout, then read from the pty and redirect to the real stdout (and handle whatever logging functions you want).
    Notice, though, that the reasons apps like pacman are smart about what they write to stdout when it's not a tty is because things like progress bars involve a lot of escape codes to reposition the cursor and redraw character positions on the terminal.  If you write that kind of stuff to a file, it makes for a very ugly and difficult to read log.  So you may want to reconsider exactly what you're trying to accomplish here.

  • Hot Synch Log not logging

    The other day, my computer crashed during a Hot Sync operation.  The log recorded that the operation had been aborted. 
    Since then, I have Hot Synch’d several times, and it works fine; however, the log is no longer logging.  It still displays the last entry from the day it crashed, so the log function seems to be dead. 
    I am running Hot Synch Manager ver. 7.0.2 on Windows XP Pro.
    My Palm Tungsten E2 runs Garnett 5.4.7.
    Any ideas?

    Yes, I reinstalled the software.  It logged one time, then died exactly the same way.  Other ideas?

  • How to implement logging functonolity in my java application

    Hi.
    I want to add logging functionality in my java project.Iam using jdk1.5.I have written following log4j.properties.This property file i need to keep it in com.format.src.property folder .All java files are there in com.format.src folder.
    log4j.rootCategory=DEBUG, FILE, CONSOLE
    ### A bootstrap file appender
    log4j.appender.FILE=org.jboss.logging.appender.FileAppender
    log4j.appender.FILE.File=${jboss.server.log.dir}/${HOSTSHORTNAME}-${jboss.server.name}-boot.log
    log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
    log4j.appender.FILE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
    log4j.appender.FILE.Append=false
    log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
    log4j.appender.CONSOLE.Threshold=INFO
    log4j.appender.CONSOLE.Target=System.out
    log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
    log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
    Could you reply me the steps to implement logging in my project.
    Thanks in advance
    alex

    1) Put the Apache Commons Logging jar into your "lib" folder.
    2) Create your properties file as "log4j.properties"
    3) Keep it inside the folder where you have your "src" (ie. ur "src", "classes", & "log4j.properties" should be in the same folder)
    4) Import "org.apache.log4j.Logger;"
    5) Create an instance of "Logger" as follows;
    Logger log = Logger.getLogger(YourClassName.class.getName());
    6) Use the created "log" instance when applicable as follows:
    log.info("Whatever the message");
    log.debug("Whatever the message");
    log.error("Whatever the message");
    log.fatal("Whatever the message"); ...etc
    Hope u got it... Happy coding... :)
    Cheers,
    Asela.

Maybe you are looking for

  • Nokia-C7 Missing Feature - Can't change dialer vis...

    Hi, In the Nokia-C7 In the home screen, when selecting Call to open the Dialer, it is possible to search for a contacts immediately by pressing the numbers buttons to entering the characters that appears on them. The language that appears on the butt

  • 10.3 is slow in making call and receiving call

    os 10.3 is kinda slow while making a call and receiving call? its not a bug in handset cause i've experienced the same issue with 3 z10 and 1 z30 which is im using rightnow all the phones runnin on os 10.3 are slow while making and receiving a call i

  • Problem with Full Screen Mode on Linux

    Hi all, I have a desktop application that should run on Full Screen Mode, and it is running fine on Windows XP/2000. I have many graphic functions that works perfect, but when I try to run it on Linux, it doesn't support full screen. I have a Red Hat

  • U can't I get iOS 7 for iPod 4

    I can't get iOS 7 for iPod 4 y

  • V5.1 to 2014

    Hello, I have an old labview file created with 5.1 version. Currently I am using Labview 2014, Could anyone convert the attached file to a newer version? Many thanks!!