Date: Sat, 22 Sep 2001 10:19:11 -0700 (PDT) From: Hidenori Ishikawa <hideishi@magisystem.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/30741: ftp.proxy's syslog facility is LOG_MAIL Message-ID: <200109221719.f8MHJB984213@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 30741 >Category: ports >Synopsis: ftp.proxy's syslog facility is LOG_MAIL >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 22 10:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Hidenori Ishikawa >Release: 4.4-RELEASE >Organization: Chiba BSD User Group >Environment: FreeBSD melchior.geofront.magisystem.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sun Sep 16 10:55:49 JST 2001 root@casper.geofront.magisystem.net:/raid0/src/4.4-RELEASE/src/sys/compile/SMP-4.4-RELEASE i386 >Description: FreeBSD ports ftp/ftp.proxy logs to syslog using facility LOG_MAIL by default. Since ftp/ftp.proxy does NOT relate anything with MAIL, it is prefered to be logged to syslog using facility LOG_FTP. >How-To-Repeat: Install ftp/ftp.proxy from ports. Run ftp.proxy service and watch /var/log/maillog. >Fix: *** main.c.orig Fri May 11 17:30:04 2001 --- main.c Sun Sep 23 01:53:05 2001 *************** *** 81,87 **** config->timeout = 15 * 60; strcpy(config->varname, "PROXY_"); ! openlog(program, LOG_PID, LOG_MAIL); k = 1; while (k < argc && argv[k][0] == '-' && argv[k][1] != 0) { --- 81,87 ---- config->timeout = 15 * 60; strcpy(config->varname, "PROXY_"); ! openlog(program, LOG_PID, LOG_FTP); k = 1; while (k < argc && argv[k][0] == '-' && argv[k][1] != 0) { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109221719.f8MHJB984213>