FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 12-18-2009, 02:30 PM
Chris Lumens
 
Default Log into program.log through the standard python logging (part of #524980).

> @@ -57,7 +55,7 @@ class tee(threading.Thread):
> if data == "":
> self.running = False
> else:
> - self.file.write(data)
> + self.log.debug(data.rstrip('
'))
> os.write(self.outputdesc, data)
>
> def stop(self):

I think I might raise the level of the program's output to info for two
reasons:

(1) It just seems informational to me. debug is more like for figuring
out what's gone wrong (or just what's going on) with anaconda, not
really for other programs.

(2) It gives you another lower level to work with, so in case you want
to start getting debug output that you don't want everyone to see you
can do that without needing to make more changes.

Otherwise, ACK.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:40 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org