diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2014-08-10 16:31:39 -0500 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2014-08-10 16:31:39 -0500 |
commit | 02bd48a975478b1a0b6b4a25dbc4a6b951879bd0 (patch) | |
tree | 527adbf863b0a5d5ff4401e6158671384fd54fb3 /rel/files | |
parent | 681b993f291347397d4049592a106591bd642ee2 (diff) | |
download | couchdb-02bd48a975478b1a0b6b4a25dbc4a6b951879bd0.tar.gz |
Have lager log to the console only by default
This is a short term fix to get lager to send its output to
stdout/stderr so that it is directed into the appropriate logs for
dev/run.
Diffstat (limited to 'rel/files')
-rw-r--r-- | rel/files/sys.config | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/rel/files/sys.config b/rel/files/sys.config index 97562f561..e9a7bd2d3 100644 --- a/rel/files/sys.config +++ b/rel/files/sys.config @@ -10,4 +10,15 @@ % License for the specific language governing permissions and limitations under % the License. -[]. +[ + {lager, [ + {error_logger_hwm, 1000}, + {error_logger_redirect, true}, + {handlers, [ + {lager_console_backend, [debug, { + lager_default_formatter, + [date, " ", time," [",severity,"] ",pid, " ", message, "\n"] + }]} + ]} + ]} +]. |