-# Specify that the given loglevel should be applied
-# to log messages of the given logtype and that
-# these messages should be logged to the given file.
-# If the filename is ommited the loglevel applies to
-# messages passed to syslog.
-# Each logtype may have a loglevel applied to syslog
-# and a loglevel applied to a single file. Latter
-# -setuplog settings will override earlier ones of
-# the same logtype (file or syslog).
-# logtypes: Default, Core, Logger, CNID, AFPDaemon
-# loglevels: LOG_SEVERE, LOG_ERROR, LOG_WARN, LOG_NOTE,
-# LOG_INFO, LOG_DEBUG, LOG_DEBUG6, LOG_DEBUG7,
-# LOG_DEBUG8, LOG_DEBUG9, LOG_MAXDEBUG
-#
-# for example:
-# -setuplog "logger log_maxdebug /var/log/netatalk-logger.log"
-# -setuplog "afpdaemon log_maxdebug /var/log/netatalk-afp.log"
-# -unsetuplog "default level file"
-# -setuplog "default log_maxdebug"
-#
-# -signature { user:<text> | host }
-# Specify a server signature. This option is useful while
-# running multiple independent instances of afpd on one
-# machine (eg. in clustered environments, to provide fault
-# isolation etc.). "host" signature type allows afpd generating
-# signature automatically (based on machine primary IP address).
-# "user" signature type allows administrator to set up a signature
-# string manually. Examples: three servers running on one machine:
+# Specify that any message of a loglevel up to the
+# given loglevel should be logged to the given file.
+# If the filename is ommited the loglevel applies to
+# messages passed to syslog.
+#
+# By default (no explicit -setuplog and no buildtime
+# configure flag --with-logfile) afpd logs to syslog
+# with a default logging setup equivalent to
+# "-setuplog default log_info".
+#
+# If build with --with-logfile[=somefile]
+# (default logfile /var/log/netatalk.log) afpd
+# defaults to a setup that is equivalent to
+# "-setuplog default log_info [netatalk.log|somefile]"
+#
+# logtypes: Default, AFPDaemon, Logger, UAMSDaemon
+# loglevels: LOG_SEVERE, LOG_ERROR, LOG_WARN,
+# LOG_NOTE, LOG_INFO, LOG_DEBUG,
+# LOG_DEBUG6, LOG_DEBUG7, LOG_DEBUG8,
+# LOG_DEBUG9, LOG_MAXDEBUG
+#
+# Example: Useful default config
+# -setuplog "default log_info /var/log/afpd.log"
+#
+# Debugging config
+# -setuplog "default log_maxdebug /var/log/afpd.log"
+#
+# -signature { user:<text> | auto }
+# Specify a server signature. This option is useful
+# while running multiple independent instances of
+# afpd on one machine (eg. in clustered environments,
+# to provide fault isolation etc.).
+# Default is "auto".
+# "auto" signature type allows afpd generating
+# signature and saving it to afp_signature.conf
+# automatically (based on random number).
+# "host" signature type switches back to "auto"
+# because it is obsoleted.
+# "user" signature type allows administrator to
+# set up a signature string manually.
+# Examples: three servers running on one machine: