We log everything in systemd/journald for every service already, so there's no need for double-logging, bridges rotating log files manually and other such nonsense.pull/809/head
| @@ -122,20 +122,4 @@ logging: | |||||
| lineDateFormat: MMM-D HH:mm:ss.SSS | lineDateFormat: MMM-D HH:mm:ss.SSS | ||||
| # Logging files | # Logging files | ||||
| # Log files are rotated daily by default | # Log files are rotated daily by default | ||||
| files: | |||||
| # Log file path | |||||
| - file: "/data/bridge.log" | |||||
| # Log level for this file | |||||
| # Allowed values starting with most verbose: | |||||
| # silly, debug, verbose, info, warn, error | |||||
| level: info | |||||
| # Date and time formatting | |||||
| datePattern: YYYY-MM-DD | |||||
| # Maximum number of logs to keep. | |||||
| # This can be a number of files or number of days. | |||||
| # If using days, add 'd' as a suffix | |||||
| maxFiles: 14d | |||||
| # Maximum size of the file after which it will rotate. This can be a | |||||
| # number of bytes, or units of kb, mb, and gb. If using the units, add | |||||
| # 'k', 'm', or 'g' as the suffix | |||||
| maxSize: 50m | |||||
| files: [] | |||||
| @@ -66,20 +66,4 @@ logging: | |||||
| lineDateFormat: MMM-D HH:mm:ss.SSS | lineDateFormat: MMM-D HH:mm:ss.SSS | ||||
| # Logging files | # Logging files | ||||
| # Log files are rotated daily by default | # Log files are rotated daily by default | ||||
| files: | |||||
| # Log file path | |||||
| - file: "/data/bridge.log" | |||||
| # Log level for this file | |||||
| # Allowed values starting with most verbose: | |||||
| # silly, debug, verbose, info, warn, error | |||||
| level: info | |||||
| # Date and time formatting | |||||
| datePattern: YYYY-MM-DD | |||||
| # Maximum number of logs to keep. | |||||
| # This can be a number of files or number of days. | |||||
| # If using days, add 'd' as a suffix | |||||
| maxFiles: 14d | |||||
| # Maximum size of the file after which it will rotate. This can be a | |||||
| # number of bytes, or units of kb, mb, and gb. If using the units, add | |||||
| # 'k', 'm', or 'g' as the suffix | |||||
| maxSize: 50m | |||||
| files: [] | |||||
| @@ -42,30 +42,7 @@ logging: | |||||
| lineDateFormat: MMM-D HH:mm:ss.SSS | lineDateFormat: MMM-D HH:mm:ss.SSS | ||||
| # Logging files | # Logging files | ||||
| # Log files are rotated daily by default | # Log files are rotated daily by default | ||||
| files: | |||||
| # Log file path | |||||
| - file: "/data/bridge.log" | |||||
| # Log level for this file | |||||
| # Allowed values starting with most verbose: | |||||
| # silly, debug, verbose, info, warn, error | |||||
| level: info | |||||
| # Date and time formatting | |||||
| datePattern: YYYY-MM-DD | |||||
| # Maximum number of logs to keep. | |||||
| # This can be a number of files or number of days. | |||||
| # If using days, add 'd' as a suffix | |||||
| maxFiles: 14d | |||||
| # Maximum size of the file after which it will rotate. This can be a | |||||
| # number of bytes, or units of kb, mb, and gb. If using the units, add | |||||
| # 'k', 'm', or 'g' as the suffix | |||||
| maxSize: 50m | |||||
| # Optionally enable/disable logging for certain modules | |||||
| #disabled: | |||||
| # - PresenceHandler | |||||
| # - module: bot-sdk-MatrixLiteClient | |||||
| # regex: /_matrix/client/r0/presence/ # this regex needs to match to disable the log | |||||
| #enabled: | |||||
| # - Store | |||||
| files: [] | |||||
| database: | database: | ||||
| {% if matrix_mx_puppet_skype_database_engine == 'postgres' %} | {% if matrix_mx_puppet_skype_database_engine == 'postgres' %} | ||||
| @@ -80,20 +80,4 @@ logging: | |||||
| lineDateFormat: MMM-D HH:mm:ss.SSS | lineDateFormat: MMM-D HH:mm:ss.SSS | ||||
| # Logging files | # Logging files | ||||
| # Log files are rotated daily by default | # Log files are rotated daily by default | ||||
| files: | |||||
| # Log file path | |||||
| - file: "/data/bridge.log" | |||||
| # Log level for this file | |||||
| # Allowed values starting with most verbose: | |||||
| # silly, debug, verbose, info, warn, error | |||||
| level: info | |||||
| # Date and time formatting | |||||
| datePattern: YYYY-MM-DD | |||||
| # Maximum number of logs to keep. | |||||
| # This can be a number of files or number of days. | |||||
| # If using days, add 'd' as a suffix | |||||
| maxFiles: 14d | |||||
| # Maximum size of the file after which it will rotate. This can be a | |||||
| # number of bytes, or units of kb, mb, and gb. If using the units, add | |||||
| # 'k', 'm', or 'g' as the suffix | |||||
| maxSize: 50m | |||||
| files: [] | |||||
| @@ -83,20 +83,4 @@ logging: | |||||
| lineDateFormat: MMM-D HH:mm:ss.SSS | lineDateFormat: MMM-D HH:mm:ss.SSS | ||||
| # Logging files | # Logging files | ||||
| # Log files are rotated daily by default | # Log files are rotated daily by default | ||||
| files: | |||||
| # Log file path | |||||
| - file: "/data/bridge.log" | |||||
| # Log level for this file | |||||
| # Allowed values starting with most verbose: | |||||
| # silly, debug, verbose, info, warn, error | |||||
| level: info | |||||
| # Date and time formatting | |||||
| datePattern: YYYY-MM-DD | |||||
| # Maximum number of logs to keep. | |||||
| # This can be a number of files or number of days. | |||||
| # If using days, add 'd' as a suffix | |||||
| maxFiles: 14d | |||||
| # Maximum size of the file after which it will rotate. This can be a | |||||
| # number of bytes, or units of kb, mb, and gb. If using the units, add | |||||
| # 'k', 'm', or 'g' as the suffix | |||||
| maxSize: 50m | |||||
| files: [] | |||||
| @@ -76,20 +76,4 @@ logging: | |||||
| lineDateFormat: MMM-D HH:mm:ss.SSS | lineDateFormat: MMM-D HH:mm:ss.SSS | ||||
| # Logging files | # Logging files | ||||
| # Log files are rotated daily by default | # Log files are rotated daily by default | ||||
| files: | |||||
| # Log file path | |||||
| - file: "/data/bridge.log" | |||||
| # Log level for this file | |||||
| # Allowed values starting with most verbose: | |||||
| # silly, debug, verbose, info, warn, error | |||||
| level: info | |||||
| # Date and time formatting | |||||
| datePattern: YYYY-MM-DD | |||||
| # Maximum number of logs to keep. | |||||
| # This can be a number of files or number of days. | |||||
| # If using days, add 'd' as a suffix | |||||
| maxFiles: 14d | |||||
| # Maximum size of the file after which it will rotate. This can be a | |||||
| # number of bytes, or units of kb, mb, and gb. If using the units, add | |||||
| # 'k', 'm', or 'g' as the suffix | |||||
| maxSize: 50m | |||||
| files: [] | |||||