Subversion Repositories SmartDukaan

Rev

Rev 19413 | Rev 19766 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19413 Rev 19491
Line 144... Line 144...
144
		return
144
		return
145
	fh = logging.FileHandler(logfile, 'w')
145
	fh = logging.FileHandler(logfile, 'w')
146
	formatter = logging.Formatter(logging.BASIC_FORMAT)
146
	formatter = logging.Formatter(logging.BASIC_FORMAT)
147
	fh.setFormatter(formatter)
147
	fh.setFormatter(formatter)
148
	root = logging.getLogger()
148
	root = logging.getLogger()
149
	root.setLevel(logging.ERROR)
149
	root.setLevel(logging.DEBUG)
150
	root.addHandler(fh)
150
	root.addHandler(fh)
151
151