Target Release | 17.1.1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JIRA |
| ||||||||||
Document status | Initial Version | ||||||||||
Document owner | |||||||||||
Designer | |||||||||||
Developers | |||||||||||
QA | |||||||||||
Forum Discussion | http://community.pbspro.org/t/pp-261-micro-second-time-stamp-for-daemon-logging/467 |
Interface1: New switch in PBS Configuration:
...
PBS_
...
LOG_
...
HIGHRES_
...
TIMESTAMP
- Visibility: Public
- Change Control: Stable
- Synopsis: highres PBS_timeLOG_logHIGHRES_enableTIMESTAMP
- Details:
- This is new
- parameter
- for pbs.conf file, using this parameter admin can control high resolution
- logging in PBS daemons logs.
To enable this parameter use the following command.
qmgr -c "set server highres_time_log_enable=1"
To disable this parameter use the following command.
qmgr -c "unset server highres_time_log_enable"- Possible value for this parameter is 1(enabled) or 0(disabled).
- By default high resolution
- will be disabled in PBS.
- If
- high resolution is enabled then log's datetime format will be DD/MM/YYYY HH:MM:SS.XXXXXX where XXXXXX
- will be microsecond. XXXXXX will always be 6 digits (proceeded by zeros if need be).
- If high resolution is disabled then no change in current log's datetime format (i.e. DD/MM/YYYY HH:MM:SS).
- High resolution logging will NOT be used in Accounting logs for backward compatibility for PBS Analytics
...
- . Also this feature does not apply if PBS Pro is configured to log via syslog.
- If enabled/disabled in pbs.conf, it will apply to all daemons on that host.
- If enabled on the server host, it will affect the server, scheduler, and the mom on that host
- If enabled on an execution host, it will only affect the mom on that host only.
- As with all pbs.conf variables, PBS_LOG_HIGHRES_TIMESTAMP can be overridden by an environmental variable of the same name.