Veritas NetBackup™ Logging Reference Guide
- Using logs
- About unified logging
- About legacy logging
- About global logging levels
- Troubleshooting error messages in the NetBackup Administration Console
- Backup process and logging
- Media and device processes and logging
- Restore process and logging
- Advanced Backup and Restore Features
- Storage logging
- NetBackup Deduplication logging
- OpenStorage Technology (OST) logging
- Snapshot technologies
- Locating logs
- Java-based administration console logging
Java-based remote administration console logging on a Windows computer where NetBackup is not installed
If the NetBackup Remote Administration Console Installation (x64 only) option is used when installing, NetBackup is not installed on the host and the Java activity is not logged by default.
You must make changes to the setconf.bat
file to ensure that Veritas Technical Support can successfully log the Java operations; that is, %nbjLogFileName%
.
The following changes to the setconf.bat
file are required as there is no active path set against NB_INSTALL_PATH
on the target host. The procedure is as follows:
Make a copy of your existing
setconf.bat
file (fileC:\Program Files\Veritas\java\setconf.bat
) before you edit it.To edit the file, use Notepad or another text editor and scroll down to the following line:
SET HIDE_LOGGING_ASSISTANT=0 if "[%NB_INSTALL_PATH%]"=="[]" goto skip if NOT EXIST "%NB_INSTALL_PATH%" goto skip @REM generate a unique file name ... for /f "tokens=5-8 delims=:. " %%a in ('echo.^|time') do set thh=%%a&set tmm=%%b&set tss=%%c&set ths=%%d
Change the previous lines to the following:
SET HIDE_LOGGING_ASSISTANT=0 @REM if "[%NB_INSTALL_PATH%]"=="[]" goto skip @REM if NOT EXIST "%NB_INSTALL_PATH%" goto skip @REM generate a unique file name ... for /f "tokens=5-8 delims=:. " %%a in ('echo.^|time') do set thh=%%a&set tmm=%%b&set tss=%%c&set ths=%%d
Scroll down to the following lines:
set nbjLogFileName=jbp.%dyyyy%%dmm%%ddd%%thh%%tmm%%tss%%ths%.log set logFile=%NB_INSTALL_PATH%\logs\user_ops\nbjlogs\%nbjLogFileName% :skip
Change these lines to the following:
set nbjLogFileName=jbp.%dyyyy%%dmm%%ddd%%thh%%tmm%%tss%%ths%.log set logFile=%INSTALL_PATH%\logs\user_ops\nbjlogs\%nbjLogFileName% :skip
Save the new
setconf.bat
file.To manually create the path directory, do the following:
%INSTALL_PATH%\logs\user_ops\nbjlogs\
That is, the file
C:\Program Files\Veritas\java\logs\user_ops\nbjlogs
.Reopen the Java-based administration console and capture the Java logs on the host:
C:\Program Files\Veritas\java\logs\user_ops\nbjlogs\%nbjLogFileName%