Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radicale won't start due to logging config change in v3 ? #1068

Closed
fredmedia opened this issue Jun 8, 2020 · 2 comments
Closed

radicale won't start due to logging config change in v3 ? #1068

fredmedia opened this issue Jun 8, 2020 · 2 comments

Comments

@fredmedia
Copy link

radicale service complains about having file in logging section of config. Is there a new way of doing this in v3?

/etc/radicale/config

[logging]
file = /etc/radicale/logging

/etc/raciale/logging

[loggers]
keys = root

[handlers]
keys = file

[formatters]
keys = full

[logger_root]
#level = WARNING
level = DEBUG
handlers = file

[handler_file]
class = FileHandler
args = ('/var/log/radicale/radicale.log',)
formatter = full

[formatter_full]
format = %(asctime)s - [%(thread)x] %(levelname)s: %(message)s
@Unrud
Copy link
Collaborator

Unrud commented Jun 11, 2020

Is there a new way of doing this in v3?

It was removed in favor of using the logging facilities of the service manager (e.g. systemd) or the WSGI server (e.g. Apache). (https://radicale.org/3.0.html#documentation/configuration/logging)

@ell1e
Copy link

ell1e commented Jul 23, 2020

Would it be possible to document this? What does that actually mean? Where are the logs now, and how can they be redirected?

Edit: ah, sorry, I found the explanation now: Radicale logs to stderr.

@pbiering pbiering closed this as completed Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants