From 5422f23ed8174661b6e658250e4007b7fdf0d603 Mon Sep 17 00:00:00 2001 From: zeripath Date: Sun, 7 Apr 2019 01:25:14 +0100 Subject: Quieter Integration Tests (#6513) * Rename BaseLogger to WriterLogger to help the creation of other providers * Don't export ColorBytes and ResetBytes from ColoredValues * Make integration tests only print logs if they fail * check can color before coloring * I always forget about MSSQL * Oh and use LEVEL in sqlite.ini * Make the test logger log at info - as it means you see the router * Remove empty expected changes * Make the migrations quieter too * Don't display SQL on error - it can be looked at in the file logs if necessary * Fix skip when using onGiteaRun --- integrations/pgsql.ini.tmpl | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'integrations/pgsql.ini.tmpl') diff --git a/integrations/pgsql.ini.tmpl b/integrations/pgsql.ini.tmpl index e617b1899c..894a243ba8 100644 --- a/integrations/pgsql.ini.tmpl +++ b/integrations/pgsql.ini.tmpl @@ -60,14 +60,19 @@ PROVIDER = file PROVIDER_CONFIG = data/sessions-pgsql [log] -MODE = console,file -ROOT_PATH = pgsql-log +MODE = test,file +ROOT_PATH = sqlite-log +REDIRECT_MACARON_LOG = true +ROUTER = , +MACARON = , +XORM = file -[log.console] -LEVEL = Warn +[log.test] +LEVEL = Info +COLORIZE = true [log.file] -LEVEL = Debug +LEVEL = Debug [security] INSTALL_LOCK = true -- cgit v1.2.3