diff --git a/conf/lab.ini b/conf/lab.ini index 9488373d..8abfa671 100644 --- a/conf/lab.ini +++ b/conf/lab.ini @@ -39,7 +39,7 @@ log_request = true [database] # Either "mysql", "postgres" or "sqlite3" -type = mysql +type = sqlite3 # Database connection configuration, for "mysql" and "postgres" host = 127.0.0.1:3306 @@ -51,7 +51,7 @@ passwd = ssl_mode = disable # For "sqlite3" only, absolute path of db file -db_path = +db_path = labapp.db # Max idle connection number, default is 2 max_idle_conn = 2 @@ -71,7 +71,7 @@ auto_update_database = true [log] # Either "console", "file", default is "console" # Use space to separate multiple modes, e.g. "console file" -mode = console +mode = console file # Either "debug", "info", "warn", "error", default is "info" level = info