svn commit: r244848 - projects/portbuild/scripts
Mark Linimon
linimon at FreeBSD.org
Sun Dec 30 00:58:38 UTC 2012
Author: linimon (doc,ports committer)
Date: Sun Dec 30 00:58:37 2012
New Revision: 244848
URL: http://svnweb.freebsd.org/changeset/base/244848
Log:
Since this no longer runs as root, move its logfile to the new
portbuild/log directory.
Modified:
projects/portbuild/scripts/pollmachine
Modified: projects/portbuild/scripts/pollmachine
==============================================================================
--- projects/portbuild/scripts/pollmachine Sun Dec 30 00:56:14 2012 (r244847)
+++ projects/portbuild/scripts/pollmachine Sun Dec 30 00:58:37 2012 (r244848)
@@ -298,7 +298,7 @@ PORTBUILD_USER = config.get( 'PORTBUILD_
logging.basicConfig(level=logging.INFO,
format='[%(asctime)s] %(message)s',
datefmt='%d %b %Y %H:%M:%S',
- filename='/var/log/pollmachine.log', filemode='w')
+ filename=pbc+'/log/pollmachine.log', filemode='w')
log_console = logging.StreamHandler()
log_console.setLevel(logging.INFO)
More information about the svn-src-projects
mailing list