This is an obvious one. Increasing the logging level (
log
level
or
debug
level
configuration options) is a good way to debug a problem, unless you happen to be searching for a performance problem! As mentioned in Chapter 4,
Disk Shares , Samba produces a ton of debugging messages at level 3 and above, and writing them to disk or syslog is a slow operation. In our
smbclient/ftp tests, raising the log level from 0 to 3 cut the untuned
get
speed
from 645.3 to 622.2KB/s, or roughly 5 percent. Higher log levels were even worse.