I tried turning on logging on my RT-N66U with xferlog_enable and xferlog_file and it just gets ignored. However, setting syslog_enable=YES does work and writes a copy of the log entries to syslog.Logging is disabled in the default config file. You will have to modify it using a Postconf script if you wish to enable it.
I tried turning on logging on my RT-N66U with xferlog_enable and xferlog_file and it just gets ignored. However, setting syslog_enable=YES does work and writes a copy of the log entries to syslog.
Merlin, is there some different build settings for the RT-N66U whereby log entries are suppressed? I have similar problems with samba ignoring the log level setting.
Not that I'm aware.
Show me your postconf script.
#!/bin/sh
logger -t $(basename $0) $1
CONFIG=$1
source /usr/sbin/helper.sh
pc_replace "xferlog_enable=NO" "xferlog_enable=YES" $CONFIG
pc_append "xferlog_file=/tmp/xfer.log" $CONFIG
# cat /etc/vsftpd.conf
anonymous_enable=NO
nopriv_user=root
write_enable=YES
local_enable=YES
chroot_local_user=YES
local_umask=000
dirmessage_enable=NO
xferlog_enable=YES
syslog_enable=NO
connect_from_port_20=YES
use_localtime=YES
use_sendfile=NO
listen=YES
pasv_enable=YES
ssl_enable=NO
tcp_wrappers=NO
max_clients=5
ftp_username=anonymous
ftpd_banner=Welcome to ASUS RT-N66U FTP service.
xferlog_file=/tmp/xfer.log
# grep "log" /etc/smb.conf
log file = /tmp/mnt/VERBATIM/ASUS/log.samba
log level = 10 passdb:10 auth:10 winbind:10
max log size = 50
No, no errors in the logs. It just seems to ignore 'vsftpd.conf:xferlog_enable' and 'smb.conf:log level'No error message in syslog when either services start?
Otherwise, no idea.
OK I got it to work. I had to additionally setI tried turning on logging on my RT-N66U with xferlog_enable and xferlog_file and it just gets ignored. However, setting syslog_enable=YES does work and writes a copy of the log entries to syslog
dual_log_enable=YES
Honestly, I've had no luck with smb logging. Keep fingers crossed though...OK I got it to work. I had to additionally setNow, if only I could get samba logging to work...Code:dual_log_enable=YES
Really? I had inferred from your other post that you had it working. I thought it was just me! That makes me feel a bit betterHonestly, I've had no luck with smb logging. Keep fingers crossed though...
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!