[PATCH] add timestamps to /tmp/anaconda.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It would be nice to have timestamps in the log file to better understand when 
things occur.


diff -r 0aff5ad26f74 anaconda_log.py
--- a/anaconda_log.py   Thu Sep 20 14:02:11 2007 -0400
+++ b/anaconda_log.py   Fri Oct 26 14:38:45 2007 -0400
@@ -62,0 +62,0 @@ class AnacondaLog:

         # Add a handler for the duped stuff.  No fancy formatting, thanks.
         self.addFileHandler (sys.stdout, self.stdoutLogger,
-                             fmtStr="%(message)s", minLevel=logging.INFO)
+                             fmtStr="%(asctime)s %(message)s", minLevel=logging.INFO)

     # Add a simple handler - file or stream, depending on what we're given.
     def addFileHandler (self, file, addToLogger, minLevel=DEFAULT_LEVEL,

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux