Table 4.7: Global Configuration Options Option Parameters Function (Web hosting ecommerce)

Table 4.7: Global Configuration Options Option Parameters Function Default Scope log file string (fully-qualified filename) Sets the name and location of the log file that Samba is to use. Uses standard variables. Specified in Samba makefile Global log level (debug level) numerical (0-10) Sets the amount of log/debug messages that are sent to the log file. 0 is none, 3 is considerable. 1 Global max log size numerical (size in KB) Sets the maximum size of log file. After the log exceeds this size, the file will be renamed to .bak and a new log file started. 5000 Global debug timestamp (timestamp logs) boolean If no, doesn t timestamp logs, making them easier to read during heavy debugging. yes Global syslog numerical (0-10) Sets level of messages sent to syslog. Those levels below syslog levelwill be sent to the system logger. 1 Global syslog only boolean If yes, uses syslog entirely and sends no output to the standard Samba log files. no Global 4.8.2.1 log file On our server, Samba outputs log information to text files in the var subdirectory of the Samba home directory, as set by the makefile during the build. The logfileoption can be used to reset the name of the log file to another location. For example, to reset the name and location of the Samba log file to /usr/local/logs/samba.log, you could use the following: [global] log file = /usr/local/logs/samba.log You may use variable substitution to create log files specifically for individual users or clients. You can override the default log file location
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.

Leave a Reply