Forum Discussion

Gigabyte's avatar
Gigabyte
Level 4
15 years ago

Where all Java console logs are saved ?

Hi All, Forgive me for bad English !! If I run any reports in Activity Monitor ,at the backgroud it will execute some commnds on master server and will save in some log file. Please tel...
  • Yasuhisa_Ishika's avatar
    15 years ago
    Following comment is In /usr/openv/java/Debug.properties.
    "jnbSA -lc" is equivalent of setting printCmdLines true.
    But  the comment here does not mention to debug logs. It seems command lines are logged into jnbSA's log(/usr/openv/netbackup/logs/user_ops/nbjlogs/*.log, by default) - not into debugs logs.
    jnbSA's log does not include date and time, so we can not know when cmds fired.

    ## The printCmdLines property when set to true will print the netbackup/bin
    ## netbackup/bin/admincmd and volmgr/bin cmdlines used by the GUI to its
    ## log file. It will only print the cmdline with its arguments (i.e.,
    ## no output).
    ## NOTE - The GUI doesn't always use the cmdlines to get data or update
    ## data. It has some protocols that instruct its application
    ## server to perform tasks using NetBackup and Media Manager APIs.
    ## The GUI will be using fewer cmdlines in future releases.
    ## Instead of setting the following to get these cmdlines printed to the
    ## log file, an alternative on supported UNIX platforms is to start the GUI
    ## with -lc cmdline option. This will effect only the one instance of the
    ## GUI. This is not available on the Windows platforms. On Windows
    ## platforms, this file will have to be modified, uncommenting the following
    ## line.
    ## NOTE - There is no relationship between printCmdLines and printcmds
    ## (see above) properties. In other words, both will function as
    ## documented if set to true.
    ## This property is of no use for debugging communication
    ## issues between the GUI and its application server.
    #printCmdLines=true