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

[Docker] Synapse generates log.config in /data/conf.d and then prints (harmless) message saying it is ignoring it due to lack of YAML extension #16896

Open
erebion opened this issue Feb 11, 2024 · 1 comment

Comments

@erebion
Copy link

erebion commented Feb 11, 2024

Description

Synapse says:

Generating log config file /data/conf.d/log.config which will log to /homeserver.log

and it says a few seconds later:

Found file in config directory that does not end in '.yaml': '/data/conf.d/log.config'. IGNORING.

Steps to reproduce

  • do not have log file
  • start Synapse

Synapse Version

1.100.0

Installation Method

Docker (matrixdotorg/synapse)

Database

PostgreSQL

Workers

Single process

Platform

Debian stable

Configuration

Pretty much default config, presende disabled, nothing special

Relevant log output

See above.

Anything else that would be useful to know?

nope

@erebion erebion changed the title Synapse generates config and then crashes because of it Synapse generates config and then complains about it Feb 11, 2024
@reivilibre reivilibre changed the title Synapse generates config and then complains about it [Docker] Synapse generates log.config in /data/conf.d and then prints message saying it is ignoring it due to lack of YAML extension May 10, 2024
@reivilibre
Copy link
Contributor

This is certainly a bit weird, but I don't think this is actually cause for concern.

The log.config is a specific type of configuration file, separate from the 'normal' configuration files. This message is saying that it's ignoring it for the purposes of 'normal' configuration files (in the Docker image, it seems it includes any yaml file in /data/conf.d).

The warning is therefore harmless. This message in general is just intended to help people who are wondering why their configuration doesn't work, but it is indeed a bit weird that the default docker configuration should emit this.

@reivilibre reivilibre changed the title [Docker] Synapse generates log.config in /data/conf.d and then prints message saying it is ignoring it due to lack of YAML extension [Docker] Synapse generates log.config in /data/conf.d and then prints (harmless) message saying it is ignoring it due to lack of YAML extension May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants