improve logging
This commit is contained in:
parent
725f3cb4e4
commit
819c134410
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,9 @@ PASSWD = {{ gitea_db_password }}
|
|||
SSL_MODE = {{ gitea_db_ssl }}
|
||||
; For "sqlite3" and "tidb", use an absolute path when you start gitea as service
|
||||
PATH = {{ gitea_db_path }}
|
||||
{% if gitea_log_only_warning %}
|
||||
LOG_SQL = false
|
||||
{% endif %}
|
||||
|
||||
[indexer]
|
||||
; Issue indexer storage path, available when ISSUE_INDEXER_TYPE is bleve
|
||||
|
@ -190,6 +193,7 @@ ROOT_PATH = {{ gitea_home }}/log
|
|||
; Use comma to separate multiple modes, e.g. "console, file"
|
||||
{% if gitea_log_systemd %}
|
||||
MODE = console
|
||||
MACARON = console
|
||||
{% else %}
|
||||
MODE = file
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue