Revision ce817701
b/src/Ganeti/Logging.hs | ||
---|---|---|
12 | 12 |
|
13 | 13 |
{- |
14 | 14 |
|
15 |
Copyright (C) 2011, 2012 Google Inc. |
|
15 |
Copyright (C) 2011, 2012, 2013 Google Inc.
|
|
16 | 16 |
|
17 | 17 |
This program is free software; you can redistribute it and/or modify |
18 | 18 |
it under the terms of the GNU General Public License as published by |
... | ... | |
77 | 77 |
else "" |
78 | 78 |
, " $prio $msg" |
79 | 79 |
] |
80 |
in simpleLogFormatter $ concat parts
|
|
80 |
in tfLogFormatter "%F %X,%q %Z" $ concat parts
|
|
81 | 81 |
|
82 | 82 |
-- | Helper to open and set the formatter on a log if enabled by a |
83 | 83 |
-- given condition, otherwise returning an empty list. |
Also available in: Unified diff