From 49dd6e4da186874a9c2d7d18d9dc368657aedf87 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Mon, 8 Jun 2020 15:29:10 +0200 Subject: [PATCH] server/gitea/app.ini: Removed not required log settings --- roles/server/gitea/templates/app.ini | 54 ---------------------------- 1 file changed, 54 deletions(-) diff --git a/roles/server/gitea/templates/app.ini b/roles/server/gitea/templates/app.ini index 56fbc52..abf7d7e 100644 --- a/roles/server/gitea/templates/app.ini +++ b/roles/server/gitea/templates/app.ini @@ -577,13 +577,6 @@ LEVEL = Info ; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "None" STACKTRACE_LEVEL = None -; Generic log modes -[log.x] -FLAGS = stdflags -EXPRESSION = -PREFIX = -COLORIZE = false - ; For "console" mode only [log.console] FLAGS = level @@ -591,53 +584,6 @@ LEVEL = STDERR = false COLORIZE = false -; For "file" mode only -[log.file] -LEVEL = -; Set the file_name for the logger. If this is a relative path this -; will be relative to ROOT_PATH -FILE_NAME = -; This enables automated log rotate(switch of following options), default is true -LOG_ROTATE = true -; Max number of lines in a single file, default is 1000000 -MAX_LINES = 1000000 -; Max size shift of a single file, default is 28 means 1 << 28, 256MB -MAX_SIZE_SHIFT = 28 -; Segment log daily, default is true -DAILY_ROTATE = true -; delete the log file after n days, default is 7 -MAX_DAYS = 7 -; compress logs with gzip -COMPRESS = true -; compression level see godoc for compress/gzip -COMPRESSION_LEVEL = -1 - -; For "conn" mode only -[log.conn] -LEVEL = -; Reconnect host for every single message, default is false -RECONNECT_ON_MSG = false -; Try to reconnect when connection is lost, default is false -RECONNECT = false -; Either "tcp", "unix" or "udp", default is "tcp" -PROTOCOL = tcp -; Host address -ADDR = - -; For "smtp" mode only -[log.smtp] -LEVEL = -; Name displayed in mail title, default is "Diagnostic message from server" -SUBJECT = Diagnostic message from server -; Mail server -HOST = -; Mailer user name and password -USER = -; Use PASSWD = `your password` for quoting if you use special characters in the password. -PASSWD = -; Receivers, can be one or more, e.g. 1@example.com,2@example.com -RECEIVERS = - [cron] ; Enable running cron tasks periodically. ENABLED = true