Check-in [8396a85348]
Overview
Comment:Added note if logging is disabled
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8396a8534871d69f093c16b4f27787bb8968c7ad
User & Date: rkeene on 2014-02-11 04:42:28
Other Links: manifest | tags
Context
2014-02-11
05:01
Updated to reduce use of malloc/strdup -- current run-time use is only for logging check-in: 614c3eb427 user: rkeene tags: trunk
04:42
Added note if logging is disabled check-in: 8396a85348 user: rkeene tags: trunk
04:40
Re-enabled logging in default build, accidentally disabled check-in: 2334e712aa user: rkeene tags: trunk
Changes

Modified filed.c from [8b7ede8efd] to [f8f87f8101].

  1008   1008   		fprintf(output, "      -l (or --log) specifies a filename to open for writing log entries.  Log\n");
  1009   1009   		fprintf(output, "                    entries are made for various stages in transfering files.\n");
  1010   1010   		fprintf(output, "                    The log file is opened before switching users (see \"-u\")\n");
  1011   1011   		fprintf(output, "                    and root directories (see \"-r\").  The log file is never\n");
  1012   1012   		fprintf(output, "                    closed so log rotation without stopping the daemon is will\n");
  1013   1013   		fprintf(output, "                    not work.  The value of \"-\" indicates that standard output\n");
  1014   1014   		fprintf(output, "                    should be used for logging.  The default is \"%s\".\n", LOG_FILE);
         1015  +#ifdef FILED_DONT_LOG
         1016  +		fprintf(output, "                    Note that logging is completely disabled so this option does\n");
         1017  +		fprintf(output, "                    nothing in this build.\n");
         1018  +#endif
  1015   1019   		fprintf(output, "\n");
  1016   1020   		fprintf(output, "      -u (or --user) specifies the user to switch user IDs to before servicing\n");
  1017   1021   		fprintf(output, "                     requests.  The default is not change user IDs.\n");
  1018   1022   		fprintf(output, "\n");
  1019   1023   		fprintf(output, "      -r (or --root) specifies the directory to act as the root directory for\n");
  1020   1024   		fprintf(output, "                     the file server.  If this option is specified, chroot(2)\n");
  1021   1025   		fprintf(output, "                     is called.  The default is not change root directories,\n");