Change 23040

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into / under Review 23036
View Review
Download .zip
Enhancements to p4d_base:
* Added $LOGS/p4d_init.log to track calls to init.
* Increased verbosity somewhat, though the 'p4d -xvu' output still
goes only to the p4d_init.log, with an error message referencing
that log in event of error.
* Replaced old preflight log with standard LOGFILE for all tracking.
* Fixed issue starting server due to LOGFILE not being defined;
  not documented as a bug since it is a fix to unreleased behavior
  in the last change in the dev branch.
* Enhanced to automatically replace '-d' with '--daemonsafe' if p4d
  2017.1+
* Enhanced to call p4login rather than duplicating logic in p4login.

No rotation is provided for p4d_init.log; it is continuously appended
and is expected to grow only a few M per year with typical usage
(the bigger the server, the less the growth).

Enhancements to all *_base scripts:
* Enhanced so default behvaior, with no args, is to show a usage
message (rather than doing 'status').
  • Files 5
  • Comments 0
5 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/p4broker_base#12
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/p4d_base#19
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/p4ftpd_base#10
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/p4p_base#12
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/p4web_base#10
Loading...
Tip: Use n and p to cycle through the changes.