commit | 4a905e0663b3befdde8fb53f51e8c9cfafdf7915 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Fri Aug 23 15:00:29 2013 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Fri Aug 23 15:00:29 2013 -0700 |
tree | 06476a482d55000e514449d7af6b0261fc42fa6b | |
parent | fb863894c2bd5b7ad19d4c18a743697a3025efd4 [diff] |
oft: fix padding of msecs log field
diff --git a/oft b/oft index 029c675..95496d1 100755 --- a/oft +++ b/oft
@@ -220,7 +220,7 @@ """ Set up logging based on config """ - _format = "%(asctime)s.%(msecs)d %(name)-10s: %(levelname)-8s: %(message)s" + _format = "%(asctime)s.%(msecs)03d %(name)-10s: %(levelname)-8s: %(message)s" _datefmt = "%H:%M:%S" _mode = config["log_append"] and "a" or "w" if config['log_file'] in [ "-", "stderr" ]: