mirror of
https://github.com/FAUSheppy/config
synced 2025-12-10 08:38:32 +01:00
final radicale config
This commit is contained in:
@@ -17,7 +17,8 @@
|
|||||||
# For example: 0.0.0.0:9999, [::]:9999
|
# For example: 0.0.0.0:9999, [::]:9999
|
||||||
# IPv6 adresses are configured to only allow IPv6 connections
|
# IPv6 adresses are configured to only allow IPv6 connections
|
||||||
#hosts = 0.0.0.0:5232
|
#hosts = 0.0.0.0:5232
|
||||||
hosts = squarez.fauiwg.de:7000
|
hosts = 0.0.0.0:7000, [::]:7000
|
||||||
|
#hosts = 127.0.0.1:7000
|
||||||
|
|
||||||
# Daemon flag
|
# Daemon flag
|
||||||
#daemon = False
|
#daemon = False
|
||||||
@@ -26,13 +27,13 @@ hosts = squarez.fauiwg.de:7000
|
|||||||
#pid =
|
#pid =
|
||||||
|
|
||||||
# SSL flag, enable HTTPS protocol
|
# SSL flag, enable HTTPS protocol
|
||||||
ssl = False
|
ssl = True
|
||||||
|
|
||||||
# SSL certificate path
|
# SSL certificate path
|
||||||
certificate = /home/sheppy/radicale/ssl/fauiwg_radicale.cert
|
certificate = /home/caldav/radicale/ssl/fauiwg_radicale.cert
|
||||||
|
|
||||||
# SSL private key
|
# SSL private key
|
||||||
key = /home/sheppy/radicale/ssl/fauiwg_radicale.key
|
key = /home/caldav/radicale/ssl/fauiwg_radicale.key
|
||||||
|
|
||||||
# SSL Protocol used. See python's ssl module for available values
|
# SSL Protocol used. See python's ssl module for available values
|
||||||
protocol = TLSv1.2
|
protocol = TLSv1.2
|
||||||
@@ -81,11 +82,11 @@ type = htpasswd
|
|||||||
#custom_handler =
|
#custom_handler =
|
||||||
|
|
||||||
# Htpasswd filename
|
# Htpasswd filename
|
||||||
htpasswd_filename = ~/radicale/htpasswd_users
|
htpasswd_filename = /home/caldav/radicale/htpasswd_users
|
||||||
|
|
||||||
# Htpasswd encryption method
|
# Htpasswd encryption method
|
||||||
# Value: plain | sha1 | ssha | crypt | bcrypt | md5
|
# Value: plain | sha1 | ssha | crypt | bcrypt | md5
|
||||||
htpasswd_encryption = bcrypt
|
htpasswd_encryption = crypt
|
||||||
|
|
||||||
# LDAP server URL, with protocol and port
|
# LDAP server URL, with protocol and port
|
||||||
#ldap_url = ldap://localhost:389/
|
#ldap_url = ldap://localhost:389/
|
||||||
@@ -179,9 +180,9 @@ filesystem_folder = ~/radicale/collections/
|
|||||||
# If no config is given, simple information is printed on the standard output
|
# If no config is given, simple information is printed on the standard output
|
||||||
# For more information about the syntax of the configuration file, see:
|
# For more information about the syntax of the configuration file, see:
|
||||||
# http://docs.python.org/library/logging.config.html
|
# http://docs.python.org/library/logging.config.html
|
||||||
config = ~/radicale/logging
|
config = ~/.config/radicale/logging
|
||||||
# Set the default logging level to debug
|
# Set the default logging level to debug
|
||||||
debug = True
|
debug = False
|
||||||
# Store all environment variables (including those set in the shell)
|
# Store all environment variables (including those set in the shell)
|
||||||
#full_environment = False
|
#full_environment = False
|
||||||
|
|
||||||
|
|||||||
63
radicale/logging
Normal file
63
radicale/logging
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
# -*- mode: conf -*-
|
||||||
|
# vim:ft=cfg
|
||||||
|
|
||||||
|
# Logging config file for Radicale - A simple calendar server
|
||||||
|
#
|
||||||
|
# The default path for this file is /etc/radicale/logging
|
||||||
|
# This can be changed in the configuration file
|
||||||
|
#
|
||||||
|
# Other handlers are available. For more information, see:
|
||||||
|
# http://docs.python.org/library/logging.config.html
|
||||||
|
|
||||||
|
|
||||||
|
# Loggers, handlers and formatters keys
|
||||||
|
|
||||||
|
[loggers]
|
||||||
|
# Loggers names, main configuration slots
|
||||||
|
keys = root
|
||||||
|
|
||||||
|
[handlers]
|
||||||
|
# Logging handlers, defining logging output methods
|
||||||
|
keys = console,file
|
||||||
|
|
||||||
|
[formatters]
|
||||||
|
# Logging formatters
|
||||||
|
keys = simple,full
|
||||||
|
|
||||||
|
|
||||||
|
# Loggers
|
||||||
|
|
||||||
|
[logger_root]
|
||||||
|
# Root logger
|
||||||
|
level = DEBUG
|
||||||
|
handlers = file
|
||||||
|
# Enable the following instead if you also want console logging
|
||||||
|
#handlers = console,file
|
||||||
|
|
||||||
|
|
||||||
|
# Handlers
|
||||||
|
|
||||||
|
[handler_console]
|
||||||
|
# Console handler
|
||||||
|
class = StreamHandler
|
||||||
|
level = DEBUG
|
||||||
|
args = (sys.stdout,)
|
||||||
|
formatter = simple
|
||||||
|
|
||||||
|
[handler_file]
|
||||||
|
# File handler
|
||||||
|
class = FileHandler
|
||||||
|
args = ('/home/caldav/radicale/radicale.log',)
|
||||||
|
level = INFO
|
||||||
|
formatter = full
|
||||||
|
|
||||||
|
|
||||||
|
# Formatters
|
||||||
|
|
||||||
|
[formatter_simple]
|
||||||
|
# Simple output format
|
||||||
|
format = %(message)s
|
||||||
|
|
||||||
|
[formatter_full]
|
||||||
|
# Full output format
|
||||||
|
format = %(asctime)s - %(levelname)s: %(message)s
|
||||||
Reference in New Issue
Block a user