Revision 2cdaf225 htools/Ganeti/Logging.hs
b/htools/Ganeti/Logging.hs | ||
---|---|---|
112 | 112 |
Just path -> openFormattedHandler file_logging fmt $ |
113 | 113 |
fileHandler path level |
114 | 114 |
|
115 |
let handlers = concat [file_handlers, stderr_handlers]
|
|
115 |
let handlers = file_handlers ++ stderr_handlers
|
|
116 | 116 |
updateGlobalLogger rootLoggerName $ setHandlers handlers |
117 | 117 |
-- syslog handler is special (another type, still instance of the |
118 | 118 |
-- typeclass, and has a built-in formatter), so we can't pass it in |
Also available in: Unified diff