[an error occurred while processing this directive][an error occurred while processing this directive]

Configuring Access to the Extended DHCP Log File

By default, log files can be accessed only by the user who configures the tracing operation. You can enable all users to read the log file and you can explicitly set the default behavior of the log file.

To specify that all users can read the log file:

  • Configure the log file to be world-readable. (DHCP local server and DHCP relay agent both support the world-readable option for the traceoptions statement.)
    [edit system services dhcp-local-server traceoptions]user@host# set file dhcp_logfile_1 world-readable

To explicitly set the default behavior, in which the log file can only be read by the user who configured tracing:

  • Configure the log file to be no-world-readable. (DHCP local server and DHCP relay agent both support the no-world-readable option for the traceoptions statement.)
    [edit system services dhcp-local-server traceoptions]user@host# set file dhcp_logfile_1 no-world-readable

Published: 2010-04-15

[an error occurred while processing this directive]